/external/libcxx/test/std/utilities/optional/optional.nullopt/ |
D | nullopt_t.pass.cpp | 25 using std::nullopt_t; 30 test(const nullopt_t&) in test() argument 37 static_assert(( std::is_class<nullopt_t>::value), ""); in main() 38 static_assert(( std::is_empty<nullopt_t>::value), ""); in main() 39 static_assert(( std::is_literal_type<nullopt_t>::value), ""); in main() 40 static_assert((!std::is_default_constructible<nullopt_t>::value), ""); in main()
|
D | not_brace_initializable.fail.cpp | 18 using std::nullopt_t; 24 nullopt_t foo = {}; in main()
|
D | nullopt_t.fail.cpp | 26 std::nullopt_t n = {}; in main()
|
/external/libcxx/test/std/experimental/optional/optional.nullopt/ |
D | nullopt_t.pass.cpp | 20 using std::experimental::nullopt_t; 25 test(const nullopt_t&) in test() argument 32 static_assert((std::is_class<nullopt_t>::value), ""); in main() 33 static_assert((std::is_empty<nullopt_t>::value), ""); in main() 34 static_assert((std::is_literal_type<nullopt_t>::value), ""); in main() 35 static_assert((!std::is_default_constructible<nullopt_t>::value), ""); in main()
|
/external/libcxx/test/std/utilities/optional/optional.syn/ |
D | optional_nullopt_t.fail.cpp | 21 using std::nullopt_t; in main() 24 optional<nullopt_t> opt; // expected-note 1 {{requested here}} in main() 25 optional<const nullopt_t> opt1; // expected-note 1 {{requested here}} in main() 26 optional<nullopt_t &> opt2; // expected-note 1 {{requested here}} in main() 27 optional<nullopt_t &&> opt3; // expected-note 1 {{requested here}} in main()
|
/external/libchrome/base/ |
D | optional.h | 22 struct nullopt_t { struct 23 constexpr explicit nullopt_t(int) {} in nullopt_t() argument 32 constexpr nullopt_t nullopt(0); 83 Optional(base::nullopt_t) : Optional() {} 106 Optional& operator=(base::nullopt_t) { 315 constexpr bool operator==(const Optional<T>& opt, base::nullopt_t) { 320 constexpr bool operator==(base::nullopt_t, const Optional<T>& opt) { 325 constexpr bool operator!=(const Optional<T>& opt, base::nullopt_t) { 330 constexpr bool operator!=(base::nullopt_t, const Optional<T>& opt) { 335 constexpr bool operator<(const Optional<T>& opt, base::nullopt_t) { [all …]
|
/external/libcxx/include/experimental/ |
D | optional | 29 struct nullopt_t{see below}; 30 constexpr nullopt_t nullopt(unspecified); 50 template <class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept; 51 template <class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept; 52 template <class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept; 53 template <class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept; 54 template <class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept; 55 template <class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept; 56 template <class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept; 57 template <class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept; [all …]
|
/external/libcxx/include/ |
D | optional | 24 struct nullopt_t{see below }; 25 constexpr nullopt_t nullopt(unspecified ); 43 template <class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept; 44 template <class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept; 45 template <class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept; 46 template <class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept; 47 template <class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept; 48 template <class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept; 49 template <class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept; 50 template <class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept; [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | nullopt_t.pass.cpp | 22 using std::nullopt_t; 29 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test_constexpr() 47 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test()
|
/external/libcxx/test/std/experimental/optional/optional.syn/ |
D | optional_nullopt_t.fail.cpp | 21 using std::experimental::nullopt_t; in main() 24 optional<nullopt_t> opt; in main()
|
D | optional_const_nullopt_t.fail.cpp | 21 using std::experimental::nullopt_t; in main() 24 optional<const nullopt_t> opt; in main()
|
/external/libcxx/test/std/utilities/optional/optional.nullops/ |
D | less_equal.pass.cpp | 22 using std::nullopt_t; in main()
|
D | greater_equal.pass.cpp | 21 using std::nullopt_t; in main()
|
D | not_equal.pass.cpp | 21 using std::nullopt_t; in main()
|
D | less_than.pass.cpp | 21 using std::nullopt_t; in main()
|
D | greater.pass.cpp | 21 using std::nullopt_t; in main()
|
D | equal.pass.cpp | 21 using std::nullopt_t; in main()
|
/external/libcxx/test/std/experimental/optional/optional.nullops/ |
D | not_equal.pass.cpp | 21 using std::experimental::nullopt_t; in main()
|
D | greater_equal.pass.cpp | 21 using std::experimental::nullopt_t; in main()
|
D | greater.pass.cpp | 21 using std::experimental::nullopt_t; in main()
|
D | equal.pass.cpp | 21 using std::experimental::nullopt_t; in main()
|
D | less_than.pass.cpp | 21 using std::experimental::nullopt_t; in main()
|
D | less_equal.pass.cpp | 24 using std::experimental::nullopt_t; in main()
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/ |
D | nullopt_t.pass.cpp | 20 using std::experimental::nullopt_t;
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/ |
D | nullopt_t.pass.cpp | 20 using std::experimental::nullopt_t;
|