|
GaitGeneration by Graph Search
|
名前空間 | |
| namespace | impl |
クラス | |
| class | bad_expected_access |
| class | expected |
| 自作の expected クラス [詳解] | |
| class | unexpected |
関数 | |
| template<typename T , typename... Args> | |
| constexpr std::array< T, sizeof...(Args)> | make_array (Args &&... args) |
| std::arrayを作成する関数. この関数を作成したモチベーションとしては, std::arrayを constexprで初期化する際に苦戦したため. この関数を使うことで,std::arrayを constexprで初期化することができる. 例えば,std::array<int, 3>を作成する場合は, MakeArray<int>(1, 2, 3)とする. | |
| template<typename E > | |
| constexpr unexpected< std::decay_t< E > > | make_unexpected (E &&e) |
| template<class E > | |
| unexpected (E) -> unexpected< E > | |
| template<typename E > | |
| constexpr bool | operator== (const unexpected< E > &lhs, const unexpected< E > &rhs) |
| template<typename E > | |
| constexpr bool | operator!= (const unexpected< E > &lhs, const unexpected< E > &rhs) |
変数 | |
| template<class T , class W > | |
| constexpr bool | converts_from_any_cvref |
|
constexpr |
std::arrayを作成する関数.
この関数を作成したモチベーションとしては, std::arrayを constexprで初期化する際に苦戦したため.
この関数を使うことで,std::arrayを constexprで初期化することができる.
例えば,std::array<int, 3>を作成する場合は, MakeArray<int>(1, 2, 3)とする.
make_array.h の 22 行目に定義があります。
|
constexpr |
my_unexpected.h の 89 行目に定義があります。
|
constexpr |
my_unexpected.h の 103 行目に定義があります。
|
constexpr |
| designlab::nostd::unexpected | ( | E | ) | -> unexpected< E > |
|
constexpr |
my_expected.h の 36 行目に定義があります。