Esempio n. 1
0
 Type operator()(
   const reference_wrapper<
     typename remove_const<
       typename remove_reference<Value>::type>::type>& x,int=0)const
 { 
   return operator()(x.get());
 }
Esempio n. 2
0
  Type operator()(
    const reference_wrapper<
      typename remove_const<
        typename remove_reference<Value>::type>::type>& x

#if BOOST_WORKAROUND(BOOST_MSVC,==1310)
/* http://lists.boost.org/Archives/boost/2015/10/226135.php */
    ,int=0
#endif

  )const
  { 
    return operator()(x.get());
  }
Esempio n. 3
0
 Type operator()(const reference_wrapper<Class>& x)const
 { 
   return operator()(x.get());
 }
Esempio n. 4
0
 Type operator()(const reference_wrapper<const Value>& x)const
 { 
   return operator()(x.get());
 }
Esempio n. 5
0
 static void
 call(reference_wrapper<T> const& val, Attribute& attr)
 {
     assign_to(val.get(), attr);
 }
Esempio n. 6
0
 static type call(reference_wrapper<basic_regex<BidiIter> const> const &rex)
 {
     typedef core_access<BidiIter> access;
     shared_ptr<regex_impl<BidiIter> > impl = access::get_regex_impl(rex.get());
     return type(impl);
 }
Esempio n. 7
0
 /*!
  * Constructor
  *
  * \param obj Object to be referenced
  */
 explicit fmt_wrapper(reference_wrapper< T > const& obj) : m_T(obj.get()) {}
 inline Return operator() ( const reference_wrapper< const Type >& v_ref ) const
 {
     return this->operator() ( v_ref.get() );
 }
Esempio n. 9
0
 void worker_died_unexpectedly(size_t const new_worker_count)
 {
     m_pool.get().resize(new_worker_count + 1);
 }
Esempio n. 10
0
 bool resize(size_t const worker_count)
 {
     return m_pool.get().resize(worker_count);
 }
Esempio n. 11
0
 bool resize(size_t worker_count)
 {
     return m_policy.get().resize(worker_count);
 }
Esempio n. 12
0
 static type call(reference_wrapper<Attribute> const& attr, Context& ctx)
 {
     return extract_from<Exposed>(attr.get(), ctx);
 }
 inline bool operator>=(const reference_wrapper<T>& lhs, const reference_wrapper<T>& rhs){
   return lhs.get() >= rhs.get();
 }
inline void
put(reference_wrapper<M> mapp, K a, V p)
{
  mapp.get()[a] = p;
}