Home
last modified time | relevance | path

Searched refs:type_safe (Results 1 – 25 of 114) sorted by relevance

12345

/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/test/
H A Dflag_set.cpp18 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 Dcompact_optional.cpp9 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 Dconstant_parser.cpp9 using namespace type_safe;
H A Dnarrow_cast.cpp9 using namespace type_safe;
H A Ddeferred_construction.cpp10 using namespace type_safe;
H A Dflag.cpp9 using namespace type_safe;
/dports/cad/librepcb/librepcb-0.1.6/cmake/
H A DFindTypeSafe.cmake1 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 Dconfig.hpp152 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 Dboolean.hpp15 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 Dflag_set.hpp15 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 Doptional_ref.hpp11 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 Dvariant.hpp11 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 Dfloating_point.hpp14 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 Dtype_safe-config.cmake43 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 DREADME.md1 # 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 Dstrong_typedef.cpp11 namespace ts = type_safe;
64 struct hash<::distance> : type_safe::hashable<::distance>
H A Dconstrained.cpp10 namespace ts = type_safe;
H A Doutput_parameter.cpp11 namespace ts = type_safe;
/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/include/type_safe/detail/
H A Dassert.hpp12 namespace type_safe namespace
H A Dall_of.hpp10 namespace type_safe namespace
H A Dassign_or_construct.hpp10 namespace type_safe namespace
H A Dis_nothrow_swappable.hpp10 namespace type_safe namespace
H A Daligned_union.hpp10 namespace type_safe namespace
H A Dcopy_move_control.hpp8 namespace type_safe namespace
H A Dmap_invoke.hpp10 namespace type_safe namespace

12345