Searched refs:Flyweight (Results 1 – 5 of 5) sorted by relevance
37 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 …]
41 template<typename Flyweight,typename ForwardIterator>44 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Flyweight)) in test_basic_template() argument46 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 …]
73 template<typename Flyweight,typename ForwardIterator>76 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Flyweight)) in test_serialization_template() argument78 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()
1 # Boost.Flyweight tests Jamfile
1 # Boost.Flyweight examples Jamfile