Tools for making an object: More...
Go to the source code of this file.
Namespaces | |
| namespace | bbm |
Functions | |
| template<typename T , literal... V> requires std::constructible_from<T, decltype(V.value)...> && (!(is_array_v<decltype(V.value)> && ...)) | |
| constexpr T | make_from () |
| Make an object T from a series of non-array template literals. | |
| template<typename T , literal A> requires bbm::is_array_v<decltype(A.value)> | |
| constexpr T | make_from () |
| Make an object T from the values passed in a array literal. | |
| template<typename T , typename... Args> | |
| constexpr T | make_from (Args &&... args) |
| Make an object T from a pack of arguments. | |
Tools for making an object:
1) from a series of literals 2) from an array literal 3) from a parameter pack