Lines Matching refs:NP
107 template<typename NP>
108 named_parameter_combine<NP,Derived>
109 operator,( NP const& np ) const { return named_parameter_combine<NP,Derived>( np, *static_cast<Derived const*>(this) ); }
118 template<typename NP, typename Rest = nil>
121 , named_parameter_base<named_parameter_combine<NP,Rest> > {
122 typedef typename NP::ref_type res_type;
123 typedef named_parameter_combine<NP,Rest> self_type;
126 named_parameter_combine( NP const& np, Rest const& r )
128 , m_param( np )
132 res_type operator[]( keyword<typename NP::id,true> kw ) const { return m_param[kw]; }
133 res_type operator[]( keyword<typename NP::id,false> kw ) const { return m_param[kw]; }
136 bool has( keyword<typename NP::id,false> kw ) const { return m_param.has( kw ); }
139 void erase( keyword<typename NP::id,false> kw ) const { m_param.erase( kw ); }
144 template<typename NP>
145 named_parameter_combine<NP,self_type> operator,( NP const& np ) const
146 { return named_parameter_combine<NP,self_type>( np, *this ); }
148 using named_parameter_base<named_parameter_combine<NP,Rest> >::operator,;
161 NP m_param;
184 named_parameter( named_parameter const& np )
185 : m_value( np.m_value )
186 , m_erased( np.m_erased )