Lines Matching refs:xs
21 auto xs = hana::make_map( in main() local
28 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<0>) == 0); in main()
29 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<1>) == '1'); in main()
30 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<2>) == 2.2); in main()
32 int& a = hana::at_key(xs, hana::int_c<0>); in main()
33 char& b = hana::at_key(xs, hana::int_c<1>); in main()
34 double& c = hana::at_key(xs, hana::int_c<2>); in main()
40 int const& ca = hana::at_key(cref(xs), hana::int_c<0>); in main()
41 char const& cb = hana::at_key(cref(xs), hana::int_c<1>); in main()
42 double const& cc = hana::at_key(cref(xs), hana::int_c<2>); in main()
51 auto xs = hana::make_map( in main() local
57 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<0>] == 0); in main()
58 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<1>] == '1'); in main()
59 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<2>] == 2.2); in main()
61 xs[hana::int_c<0>] = 9; in main()
62 xs[hana::int_c<1>] = '9'; in main()
63 xs[hana::int_c<2>] = 9.9; in main()
65 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<0>] == 9); in main()
66 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<1>] == '9'); in main()
67 BOOST_HANA_RUNTIME_CHECK(xs[hana::int_c<2>] == 9.9); in main()
73 auto xs = hana::make_map( in main() local
79 char&& c = hana::at_key(std::move(xs), hana::int_c<1>); in main()
80 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<1>) == '1'); in main()
82 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<1>) == '9'); in main()