/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/test/ |
H A D | flag_set.cpp | 18 namespace type_safe namespace 51 REQUIRE(set != type_safe::noflag); in check_set() 52 REQUIRE(type_safe::noflag != set); in check_set() 58 REQUIRE(set == type_safe::noflag); in check_set() 59 REQUIRE(type_safe::noflag == set); in check_set() 66 REQUIRE(set == type_safe::flag_set<test_flags>()); in check_set() 80 REQUIRE(set == type_safe::combo(~test_flags::a)); in check_set() 90 REQUIRE(set == type_safe::combo(~test_flags::b)); in check_set() 95 REQUIRE(set == type_safe::combo(~test_flags::c)); in check_set() 112 using namespace type_safe; [all …]
|
H A D | compact_optional.cpp | 9 using namespace type_safe; 11 namespace type_safe namespace 81 template class type_safe::basic_optional< 116 template class type_safe::basic_optional<
|
H A D | constant_parser.cpp | 9 using namespace type_safe;
|
H A D | narrow_cast.cpp | 9 using namespace type_safe;
|
H A D | deferred_construction.cpp | 10 using namespace type_safe;
|
H A D | flag.cpp | 9 using namespace type_safe;
|
/dports/cad/librepcb/librepcb-0.1.6/cmake/ |
H A D | FindTypeSafe.cmake | 1 set(TYPE_SAFE_SUBMODULE_BASEPATH "${PROJECT_SOURCE_DIR}/libs/type_safe") 7 "${TYPE_SAFE_SUBMODULE_BASEPATH}" "${CMAKE_BINARY_DIR}/libs/type_safe" 12 add_library(TypeSafe::TypeSafe ALIAS type_safe)
|
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/include/type_safe/ |
H A D | config.hpp | 152 namespace type_safe namespace 160 # define TYPE_SAFE_THROW(Ex) (Ex, type_safe::detail::on_disabled_exception()) 163 # define TYPE_SAFE_RETHROW type_safe::detail::on_disabled_exception()
|
H A D | boolean.hpp | 15 namespace type_safe namespace 213 struct hash<type_safe::boolean> 215 std::size_t operator()(type_safe::boolean b) const noexcept in operator ()()
|
H A D | flag_set.hpp | 15 namespace type_safe namespace 777 template <typename Enum, typename = type_safe::detail::enable_flag<Enum>> 778 constexpr type_safe::flag_mask<Enum> operator~(const Enum& e) noexcept in operator ~() 780 return type_safe::flag_mask<Enum>::all_set().reset(e); in operator ~() 789 template <typename Enum, typename = type_safe::detail::enable_flag<Enum>> 790 constexpr type_safe::flag_combo<Enum> operator|(const Enum& a, const Enum& b) noexcept in operator |() 792 return type_safe::flag_combo<Enum>(a) | b; in operator |()
|
H A D | optional_ref.hpp | 11 namespace type_safe namespace 266 return ref.has_value() ? type_safe::make_optional(ref.value()) : nullopt; in copy() 275 return ref.has_value() ? type_safe::make_optional(ref.value()) : nullopt; in move()
|
H A D | variant.hpp | 11 namespace type_safe namespace 390 return has_value() ? nullptr : type_safe::opt_ref(&nullvar); in optional_value() 399 return has_value(type) ? type_safe::opt_ref(&storage_.get_union().value(type)) : nullptr; in optional_value() 406 return has_value(type) ? type_safe::opt_ref(&storage_.get_union().value(type)) : nullptr; in optional_value() 414 return has_value(type) ? type_safe::opt_xref(&storage_.get_union().value(type)) : nullptr; in optional_value() 421 return has_value(type) ? type_safe::opt_xref(&storage_.get_union().value(type)) : nullptr; in optional_value()
|
H A D | floating_point.hpp | 14 namespace type_safe namespace 452 struct hash<type_safe::floating_point<FloatT>> 454 std::size_t operator()(const type_safe::floating_point<FloatT>& f) const noexcept in operator ()()
|
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/ |
H A D | type_safe-config.cmake | 43 include( "${CMAKE_CURRENT_LIST_DIR}/type_safe-targets.cmake" ) 45 set( type_safe_LIBRARY type_safe) 46 set( type_safe_LIBRARIES type_safe)
|
H A D | README.md | 1 # type_safe chapter 4 ![Build Status](https://github.com/foonathan/type_safe/workflows/Main%20CI/badge.svg) 6 type_safe provides zero overhead abstractions that use the C++ type system to prevent bugs. 72 You need to add the type_safe `include` directory to your include path as well as make [debug_asser… 79 * `TYPE_SAFE_ENABLE_WRAPPER` (default is `1`): whether or not the typedefs in `type_safe/types.hpp`… 82 …u're using CMake there is the target `type_safe` available after you've called `add_subdirectory(p… 88 …[standardese](https://github.com/standardese/standardese) [here](https://type_safe.foonathan.net/).
|
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/example/ |
H A D | strong_typedef.cpp | 11 namespace ts = type_safe; 64 struct hash<::distance> : type_safe::hashable<::distance>
|
H A D | constrained.cpp | 10 namespace ts = type_safe;
|
H A D | output_parameter.cpp | 11 namespace ts = type_safe;
|
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/include/type_safe/detail/ |
H A D | assert.hpp | 12 namespace type_safe namespace
|
H A D | all_of.hpp | 10 namespace type_safe namespace
|
H A D | assign_or_construct.hpp | 10 namespace type_safe namespace
|
H A D | is_nothrow_swappable.hpp | 10 namespace type_safe namespace
|
H A D | aligned_union.hpp | 10 namespace type_safe namespace
|
H A D | copy_move_control.hpp | 8 namespace type_safe namespace
|
H A D | map_invoke.hpp | 10 namespace type_safe namespace
|