Home
last modified time | relevance | path

Searched refs:Flyweight (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/boost/flyweight/detail/
Dserialization_helper.hpp37 template<typename Flyweight>
40 typedef const typename Flyweight::value_type* result_type;
42 result_type operator()(const Flyweight& x)const{return &x.get();} in operator ()()
45 template<typename Flyweight>
49 Flyweight,
52 multi_index::hashed_unique<flyweight_value_address<Flyweight> >
62 size_type find(const Flyweight& x)const in find()
68 void push_back(const Flyweight& x){t.push_back(x);} in push_back()
74 template<typename Flyweight>
77 typedef std::vector<Flyweight> table;
[all …]
/third_party/boost/libs/flyweight/test/
Dtest_basic_template.hpp41 template<typename Flyweight,typename ForwardIterator>
44 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Flyweight)) in test_basic_template() argument
46 typedef typename Flyweight::value_type value_type; in test_basic_template()
53 Flyweight f1(*it); in test_basic_template()
54 Flyweight f2; in test_basic_template()
55 Flyweight c1(f1); in test_basic_template()
56 const Flyweight c2(static_cast<const Flyweight&>(f2)); in test_basic_template()
65 Flyweight cr1(std::move(c1)); in test_basic_template()
66 Flyweight cr2(std::move(c2)); in test_basic_template()
74 Flyweight f3={}; in test_basic_template()
[all …]
Dtest_serialization_template.hpp73 template<typename Flyweight,typename ForwardIterator>
76 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Flyweight)) in test_serialization_template() argument
78 std::vector<Flyweight> v1; in test_serialization_template()
79 while(first!=last)v1.push_back(Flyweight(*first++)); in test_serialization_template()
82 const std::vector<Flyweight>& crv1=v1; in test_serialization_template()
87 std::vector<Flyweight> v2; in test_serialization_template()
DJamfile.v21 # Boost.Flyweight tests Jamfile
/third_party/boost/libs/flyweight/example/
DJamfile.v21 # Boost.Flyweight examples Jamfile