...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::nfp::nil
// In header: <boost/test/utils/named_params.hpp> struct nil { // construct/copy/destruct nil(); // public member functions template<typename T> operator T const &() const; template<typename T> T any_cast() const; template<typename Arg1> nil operator()(Arg1 const &); template<typename Arg1, typename Arg2> nil operator()(Arg1 const &, Arg2 const &); template<typename Arg1, typename Arg2, typename Arg3> nil operator()(Arg1 const &, Arg2 const &, Arg3 const &); template<typename Visitor> void apply_to(Visitor &) const; // public static functions static nil & inst(); };
nil
public member functionstemplate<typename T> operator T const &() const;
template<typename T> T any_cast() const;
template<typename Arg1> nil operator()(Arg1 const &);
template<typename Arg1, typename Arg2> nil operator()(Arg1 const &, Arg2 const &);
template<typename Arg1, typename Arg2, typename Arg3> nil operator()(Arg1 const &, Arg2 const &, Arg3 const &);
template<typename Visitor> void apply_to(Visitor &) const;