Types.hpp
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
std::array< T, N > Array
Convenient alias for std::array<T, N>.
Definition: Types.hpp:62
std::optional< std::reference_wrapper< T > > OptionalRef
Convenient alias for std::optional<std::reference_wrapper<T>>.
Definition: Types.hpp:118
Vec< Pair< T, U > > Pairs
Convenient alias for std::vector<std::pair<T, U>>.
Definition: Types.hpp:90
std::nullptr_t Nullptr
Convenient alias for std::nullptr_t.
Definition: Types.hpp:128
std::vector< std::string > Strings
Convenient alias for std::vector<String>.
Definition: Types.hpp:55
std::unique_ptr< T > Ptr
Convenient alias for std::unique_ptr<T>.
Definition: Types.hpp:102
std::variant< Index, int, std::string > StringOrIndex
The type used to accept either a name or an index.
Definition: Types.hpp:58
std::tuple< Args... > Tuple
Convenient alias for std::tuple<Args...>.
Definition: Types.hpp:94
std::optional< std::reference_wrapper< const T > > OptionalConstRef
Convenient alias for std::optional<std::reference_wrapper<const T>>.
Definition: Types.hpp:122
std::optional< T > Optional
Convenient alias for std::optional<T>.
Definition: Types.hpp:114
std::function< F > Fn
Convenient alias for std::function<R(Args...)>.
Definition: Types.hpp:110
std::vector< Index > Indices
Define a type that represents a collection of indices.
Definition: Index.hpp:29
std::shared_ptr< T > SharedPtr
Convenient alias for std::shared_ptr<T>.
Definition: Types.hpp:106
Vec< Tuple< Args... > > Tuples
Convenient alias for std::vector<std::tuple<Args...>>.
Definition: Types.hpp:98
std::unordered_map< Key, T > Map
Convenient alias for std::unordered_map<Key, T>.
Definition: Types.hpp:74