/third_party/boost/libs/poly_collection/test/ |
D | base_types.hpp | 26 struct derived1 final:base struct 28 derived1(int n):n{n}{} in derived1() function 29 derived1(derived1&&)=default; 30 derived1(const derived1&)=delete; 31 derived1& operator=(derived1&&)=default; 32 derived1& operator=(const derived1&)=delete; 34 bool operator==(const derived1& x)const{return n==x.n;} in operator ==() argument 78 using t1=derived1;
|
/third_party/boost/libs/variant/test/ |
D | variant_get_test.cpp | 38 struct derived1 : base{}; struct 46 typedef boost::variant<int, base, derived1, derived2, std::string> var_t; 47 typedef boost::variant<int, derived1, derived2, std::string> var_t_shortened; 48 typedef boost::variant<base, derived1, derived2> var_t_no_fallback; 49 typedef boost::variant<int&, base&, derived1&, derived2&, std::string&> var_ref_t; 50 typedef boost::variant<const int&, const base&, const derived1&, const derived2&, const std::string… 54 int, base, derived1, derived2, std::string, boost::recursive_wrapper<recursive_structure> 142 check_get_on_types_impl_single_type<T, V, derived1>(v); in check_get_on_types_impl() 143 check_polymorphic_get_on_types_impl_single_type<T, V, derived1>(v); in check_get_on_types_impl() 196 var_t(derived1()).swap(v); in get_test() [all …]
|
D | variant_polymorphic_get_test.cpp | 20 struct derived1 : base{}; struct 41 typedef boost::variant<int, base, derived1, derived2> var_t; in main() 49 var1 = derived1(); in main()
|
/third_party/boost/tools/build/src/kernel/ |
D | class.jam | 246 class derived1 : myclass 258 return derived1.g ; 263 return derived1.h ; 286 } # class derived1 : myclass ; 321 local b = [ new derived1 4 ] ; 322 local b2 = [ new derived1 4 ] ; 368 assert.result derived1.g : $(b).f ; 380 assert.result derived1 : $(b).get-class ; 392 class derived3 : derived1 derived2 400 assert.result myclass : bases derived1 ; [all …]
|
/third_party/boost/libs/serialization/test/ |
D | test_derived.cpp | 38 class derived1 : public base class 63 derived1 *d1 = new derived1; in save_derived() 101 derived1 *d1 = NULL; in load_derived()
|
D | test_diamond.cpp | 89 class derived1 : virtual public base { class 127 class final : public derived1, public derived2 { 136 ar << BOOST_SERIALIZATION_BASE_OBJECT_NVP(derived1); in save() 144 ar >> BOOST_SERIALIZATION_BASE_OBJECT_NVP(derived1); in load()
|
/third_party/boost/libs/spirit/repository/example/qi/ |
D | derived.cpp | 39 struct derived1 : public base_type { struct 40 derived1(const std::string &name, unsigned int data1) : base_type(name), data1(data1) {} in derived1() argument 89 BOOST_FUSION_ADAPT_STRUCT( derived1, 132 … kwd("derived1")[ ('=' > parse_string > int_ ) [phx::push_back(_val,phx::new_<derived1>(_1,_2))] ] in main()
|
/third_party/boost/libs/poly_collection/example/ |
D | perf.cpp | 90 struct derived1 final:base struct 92 derived1(int n):n{n}{} in derived1() argument 530 derived1,derived1,derived2,derived2,derived3>{}; in main() 543 poly_for_each_base_collection<base,derived1,derived2,derived2> in main()
|
/third_party/boost/libs/poly_collection/doc/ |
D | poly_collection.qbk | 84 Suppose we have a `base` abstract class with implementations `derived1`, `derived2` 110 mechanism is rendered mostly useless when `derived1`, `derived2` and 908 * Element types: `T1` = `derived1`, `T2` = `derived2`, `T3` = `derived3`
|
/third_party/python/Lib/test/ |
D | test_descr.py | 4884 derived1 = Derived1() 4889 self.assertRegex(repr(derived1.method),
|