OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:variant
(Results
1 - 25
of
1612
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libcxx/test/std/utilities/variant/variant.variant/
variant_empty.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
17
#include <
variant
>
24
// expected-error@
variant
:* 1 {{static_assert failed}}
25
std::
variant
<> v; // expected-note {{requested here}}
variant_array.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
18
#include <
variant
>
29
// expected-error@
variant
:* 3 {{static_assert failed}}
30
std::
variant
<int, int[]> v; // expected-note {{requested here}}
31
std::
variant
<int, int[42]> v2; // expected-note {{requested here}}
32
std::
variant
<int, int[][42]> v3; // expected-note {{requested here}}
variant_reference.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
17
#include <
variant
>
24
// expected-error@
variant
:* 3 {{static_assert failed}}
25
std::
variant
<int, int&> v; // expected-note {{requested here}}
26
std::
variant
<int, const int &> v2; // expected-note {{requested here}}
27
std::
variant
<int, int&&> v3; // expected-note {{requested here}}
variant_void.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
18
#include <
variant
>
29
// expected-error@
variant
:* 3 {{static_assert failed}}
30
std::
variant
<int, void> v; // expected-note {{requested here}}
31
std::
variant
<int, const void> v2; // expected-note {{requested here}}
32
std::
variant
<const volatile void, int> v3; // expected-note {{requested here}}
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/variant/variant.variant/
variant_empty.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
17
#include <
variant
>
24
// expected-error@
variant
:* 1 {{static_assert failed}}
25
std::
variant
<> v; // expected-note {{requested here}}
variant_array.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
18
#include <
variant
>
29
// expected-error@
variant
:* 3 {{static_assert failed}}
30
std::
variant
<int, int[]> v; // expected-note {{requested here}}
31
std::
variant
<int, int[42]> v2; // expected-note {{requested here}}
32
std::
variant
<int, int[][42]> v3; // expected-note {{requested here}}
variant_reference.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
17
#include <
variant
>
24
// expected-error@
variant
:* 3 {{static_assert failed}}
25
std::
variant
<int, int&> v; // expected-note {{requested here}}
26
std::
variant
<int, const int &> v2; // expected-note {{requested here}}
27
std::
variant
<int, int&&> v3; // expected-note {{requested here}}
variant_void.fail.cpp
13
// <
variant
>
15
// template <class ...Types> class
variant
;
18
#include <
variant
>
29
// expected-error@
variant
:* 3 {{static_assert failed}}
30
std::
variant
<int, void> v; // expected-note {{requested here}}
31
std::
variant
<int, const void> v2; // expected-note {{requested here}}
32
std::
variant
<const volatile void, int> v3; // expected-note {{requested here}}
/external/libcxx/test/std/utilities/variant/variant.hash/
enabled_hash.pass.cpp
12
// <
variant
>
14
// Test that <
variant
> provides all of the arithmetic, enum, and pointer
17
#include <
variant
>
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/variant/variant.hash/
enabled_hash.pass.cpp
12
// <
variant
>
14
// Test that <
variant
> provides all of the arithmetic, enum, and pointer
17
#include <
variant
>
/device/google/contexthub/firmware/variant/linux/
Makefile
5
include $(SRC_PATH)/
variant
/
variant
.mk
/device/google/contexthub/firmware/variant/argonkey/
Makefile
4
OUT := out/nanohub/$(
VARIANT
)
6
include $(SRC_PATH)/
variant
/
variant
.mk
/device/google/contexthub/firmware/variant/lunchbox/
Makefile
4
OUT := out/nanohub/$(
VARIANT
)
6
include $(SRC_PATH)/
variant
/
variant
.mk
/device/google/contexthub/firmware/variant/neonkey/
Makefile
4
OUT := out/nanohub/$(
VARIANT
)
6
include $(SRC_PATH)/
variant
/
variant
.mk
/device/google/contexthub/firmware/variant/nucleo/
Makefile
4
OUT := out/nanohub/$(
VARIANT
)
6
include $(SRC_PATH)/
variant
/
variant
.mk
/external/libcxx/test/libcxx/utilities/variant/variant.variant/variant.helper/
variant_alternative.fail.cpp
10
// <
variant
>
22
// struct variant_alternative<I,
variant
<Types...>>;
25
#include <
variant
>
32
typedef std::
variant
<int, double> T;
34
// expected-error@
variant
:* {{static_assert failed "Index out of bounds in std::variant_alternative<>"}}
/external/libcxx/test/std/utilities/variant/variant.helpers/
variant_alternative.fail.cpp
13
// <
variant
>
23
// struct variant_alternative<I,
variant
<Types...>>;
27
#include <
variant
>
30
using V = std::
variant
<int, void *, const void *, long double>;
31
std::variant_alternative<4, V>::type foo; // expected-error@
variant
:* {{Index out of bounds in std::variant_alternative<>}}
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/variant/variant.variant/variant.helper/
variant_alternative.fail.cpp
10
// <
variant
>
22
// struct variant_alternative<I,
variant
<Types...>>;
25
#include <
variant
>
32
typedef std::
variant
<int, double> T;
34
// expected-error@
variant
:* {{static_assert failed "Index out of bounds in std::variant_alternative<>"}}
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/variant/variant.helpers/
variant_alternative.fail.cpp
13
// <
variant
>
23
// struct variant_alternative<I,
variant
<Types...>>;
27
#include <
variant
>
30
using V = std::
variant
<int, void *, const void *, long double>;
31
typename std::variant_alternative<4, V>::type foo; // expected-error@
variant
:* {{Index out of bounds in std::variant_alternative<>}}
/external/libcxx/test/libcxx/utilities/variant/
version.pass.cpp
10
// <
variant
>
12
#include <
variant
>
/external/libcxx/test/std/utilities/variant/variant.synopsis/
variant_npos.pass.cpp
13
// <
variant
>
17
#include <
variant
>
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/variant/
version.pass.cpp
10
// <
variant
>
12
#include <
variant
>
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/variant/variant.synopsis/
variant_npos.pass.cpp
13
// <
variant
>
17
#include <
variant
>
/external/libcxx/test/std/utilities/variant/variant.get/
holds_alternative.pass.cpp
13
// <
variant
>
16
// constexpr bool holds_alternative(const
variant
<Types...>& v) noexcept;
19
#include <
variant
>
23
using V = std::
variant
<int>;
28
using V = std::
variant
<int, long>;
34
using V = std::
variant
<int>;
/external/libcxx/test/std/utilities/variant/variant.variant/variant.status/
valueless_by_exception.pass.cpp
21
// <
variant
>
23
// template <class ...Types> class
variant
;
30
#include <
variant
>
38
using V = std::
variant
<int, ConstexprTestTypes::NoCtors>;
43
using V = std::
variant
<int, long, std::string>;
49
using V = std::
variant
<int, MakeEmptyT>;
Completed in 492 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>