예제 #1
0
 Type operator()(
   const reference_wrapper<
     typename remove_const<
       typename remove_reference<Value>::type>::type>& x,int=0)const
 { 
   return operator()(x.get());
 }
예제 #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());
  }
예제 #3
0
파일: mem_fun.hpp 프로젝트: 00liujj/dealii
 Type operator()(const reference_wrapper<Class>& x)const
 { 
   return operator()(x.get());
 }
예제 #4
0
 Type operator()(const reference_wrapper<const Value>& x)const
 { 
   return operator()(x.get());
 }
예제 #5
0
 static void
 call(reference_wrapper<T> const& val, Attribute& attr)
 {
     assign_to(val.get(), attr);
 }
예제 #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);
 }
예제 #7
0
파일: wrappers.hpp 프로젝트: AKinanS/Server
 /*!
  * 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() );
 }
예제 #9
0
 void worker_died_unexpectedly(size_t const new_worker_count)
 {
     m_pool.get().resize(new_worker_count + 1);
 }
예제 #10
0
 bool resize(size_t const worker_count)
 {
     return m_pool.get().resize(worker_count);
 }
예제 #11
0
 bool resize(size_t worker_count)
 {
     return m_policy.get().resize(worker_count);
 }
예제 #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;
}