Struct deep_copyboost::proto::functional::deep_copy — A PolymorphicFunctionObject type for deep-copying Proto expression trees. Synopsisstruct deep_copy : proto::callable { template<typename This, typename Expr> struct result<This(Expr)> : result_of::deep_copy<Expr> { }; // public member functions template<typename Expr> result_of::deep_copy<Expr>::type operator()(Expr const &) const; }; DescriptionA PolymorphicFunctionObject type for deep-copying Proto expression trees. When a tree is deep-copied, all internal nodes and terminals held by reference are instead held by value. The only exception is function references, which continue to be held by reference.
|