MCPcopy Create free account
hub / github.com/davisking/dlib / bools

Function bools

dlib/constexpr_if.h:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20 template<bool... v>
21 constexpr auto bools(std::integral_constant<bool, v>...)
22 /*!
23 ensures
24 - returns a type list of compile time booleans.
25 !*/
26 {
27 return types_<std::integral_constant<bool,v>...>{};
28 }
29
30 using true_t = types_<std::true_type>;
31 using false_t = types_<std::false_type>;

Callers 1

call_if_validFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected