Classes | Namespaces | Macros | Functions
robin-map/tests/utils.h File Reference
#include <tsl/robin_hash.h>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <ostream>
#include <string>
#include <utility>
Include dependency graph for robin-map/tests/utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  copy_only_test
 
class  deserializer
 
struct  std::hash< copy_only_test >
 
struct  std::hash< move_only_test >
 
struct  std::hash< self_reference_member_test >
 
class  identity_hash< T >
 
struct  is_pair< T >
 
struct  is_pair< std::pair< T1, T2 > >
 
class  mod_hash< MOD >
 
class  move_only_test
 
class  self_reference_member_test
 
class  serializer
 
class  utils
 

Namespaces

 std
 

Macros

#define TSL_RH_CHECK_THROW(S, E)   BOOST_CHECK_THROW(S, E)
 
#define TSL_RH_CHECK_THROW_EITHER(S, E1, E2)
 

Functions

template<>
std::int32_t utils::get_key< std::int32_t > (std::size_t counter)
 
template<>
std::int64_t utils::get_key< std::int64_t > (std::size_t counter)
 
template<>
std::string utils::get_key< std::string > (std::size_t counter)
 
template<>
std::int32_t utils::get_value< std::int32_t > (std::size_t counter)
 
template<>
std::int64_t utils::get_value< std::int64_t > (std::size_t counter)
 
template<>
std::string utils::get_value< std::string > (std::size_t counter)
 

Macro Definition Documentation

◆ TSL_RH_CHECK_THROW

#define TSL_RH_CHECK_THROW (   S,
 
)    BOOST_CHECK_THROW(S, E)

MIT License

Copyright (c) 2017 Thibaut Goetghebuer-Planchon tessi.nosp@m.l@gm.nosp@m.x.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 41 of file robin-map/tests/utils.h.

◆ TSL_RH_CHECK_THROW_EITHER

#define TSL_RH_CHECK_THROW_EITHER (   S,
  E1,
  E2 
)
Value:
do { \
try { \
S; \
BOOST_CHECK(false); \
} catch (const E1&) { \
} catch (const E2&) { \
} \
} while (0)

Definition at line 42 of file robin-map/tests/utils.h.

Function Documentation

◆ utils::get_key< std::int32_t >()

template<>
std::int32_t utils::get_key< std::int32_t > ( std::size_t  counter)
inline

Definition at line 258 of file robin-map/tests/utils.h.

◆ utils::get_key< std::int64_t >()

template<>
std::int64_t utils::get_key< std::int64_t > ( std::size_t  counter)
inline

Definition at line 263 of file robin-map/tests/utils.h.

◆ utils::get_key< std::string >()

template<>
std::string utils::get_key< std::string > ( std::size_t  counter)
inline

Definition at line 275 of file robin-map/tests/utils.h.

◆ utils::get_value< std::int32_t >()

template<>
std::int32_t utils::get_value< std::int32_t > ( std::size_t  counter)
inline

Definition at line 292 of file robin-map/tests/utils.h.

◆ utils::get_value< std::int64_t >()

template<>
std::int64_t utils::get_value< std::int64_t > ( std::size_t  counter)
inline

Definition at line 297 of file robin-map/tests/utils.h.

◆ utils::get_value< std::string >()

template<>
std::string utils::get_value< std::string > ( std::size_t  counter)
inline

Definition at line 309 of file robin-map/tests/utils.h.



mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:00