|
DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
|
Namespaces | |
| namespace | details |
Typedefs | |
| template<typename List> | |
| using | front_list_t = typename front_list<List>::type |
| Convenience variable template for ease-of-use. | |
| template<typename List> | |
| using | pop_front_list_t = typename pop_front_list<List>::type |
| Convenience variable template for ease-of-use. | |
| template<typename List, typename NewElement> | |
| using | push_back_list_t = typename push_back_list<List, NewElement>::type |
| Convenience variable template for ease-of-use. | |
| template<typename List, typename NewElement> | |
| using | push_front_list_t = typename push_front_list<List, NewElement>::type |
| Convenience variable template for ease-of-use. | |
| template<typename List> | |
| using | reverse_list_t = typename reverse_list<List>::type |
| Convenience variable template for ease-of-use. | |
Functions | |
| template<std::size_t N, typename F, typename Tuple> | |
| constexpr decltype(auto) | apply_n (F &&f, Tuple &&tuple) |
| template<typename... Elements> | |
| constexpr auto | front (const std::tuple< Elements... > &tuple) |
| template<typename... Elements> | |
| constexpr bool | is_empty (const std::tuple< Elements... > &) |
| template<typename... Elements> | |
| constexpr auto | pop_front (const std::tuple< Elements... > &tuple) |
| template<typename... Elements, typename NewElement> | |
| constexpr auto | push_back (const std::tuple< Elements... > &tuple, NewElement newElement) |
| template<typename... Elements, typename NewElement> | |
| constexpr auto | push_front (const std::tuple< Elements... > &tuple, NewElement newElement) |
| template<typename... Elements> | |
| constexpr auto | reverse (const std::tuple< Elements... > &tuple) |
| template<typename... Elements, std::size_t... Indices> | |
| constexpr auto | select (const std::tuple< Elements... > &tuple, std::index_sequence< Indices... >) |
Variables | |
| template<typename List> | |
| constexpr bool | is_empty_list_v = is_empty_list<List>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_allocator_aware_container_v = is_allocator_aware_container<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_associative_container_v = is_associative_container<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_container_v = is_container<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_container_adapter_v = is_container_adapter<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_reversible_container_v = is_reversible_container<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_sequence_container_v = is_sequence_container<T>::value |
| Convenience variable template for ease-of-use. | |
| template<typename T> | |
| constexpr bool | is_unordered_associative_container_v = is_unordered_associative_container<T>::value |
| Convenience variable template for ease-of-use. | |
| using CppUtils::Meta::front_list_t = typename front_list<List>::type |
| using CppUtils::Meta::pop_front_list_t = typename pop_front_list<List>::type |
| using CppUtils::Meta::push_back_list_t = typename push_back_list<List, NewElement>::type |
| using CppUtils::Meta::push_front_list_t = typename push_front_list<List, NewElement>::type |
| using CppUtils::Meta::reverse_list_t = typename reverse_list<List>::type |
|
constexpr |
A function that applies a given function to the first N elements of a tuple
| N | - The number of elements to select |
| F | - The callable type we are invoking for the first N elements of the tuple |
| Tuple | - The type of tuple we are passing to std::apply |
| f | - The function we are applying to the new tuple |
| tuple | - The std::tuple we are trying to apply the function to |
References select().
|
constexpr |
|
constexpr |
References is_empty_list_v.
|
constexpr |
References select().
|
constexpr |
References CppUtils::Meta::details::push_back_impl().
|
constexpr |
References CppUtils::Meta::details::push_front_impl().
|
constexpr |
An algorithm to reverse the contents of a std::tuple using its indices.
| ...Elements | - The elements of the tuple |
| tuple | - The std::tuple we are trying to reverse |
References select().
|
constexpr |
Function to create a new tuple in a different order from the input tuple.
| ...Elements | - The elements of the input tuple |
| ...Indices | - The new order of indices |
| tuple | - The std::tuple we are trying to shuffle |
Referenced by apply_n(), pop_front(), and reverse().
|
constexpr |
Referenced by is_empty().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |