MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Argument

Class Argument

inst/include/Rcpp/Named.h:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace Rcpp{
26
27class Argument {
28public:
29 Argument() : name(){} ;
30 Argument( const std::string& name_) : name(name_){}
31
32 template<typename T>
33 inline traits::named_object<T> operator=( const T& t){
34 return traits::named_object<T>( name, t ) ;
35 }
36
37 std::string name ;
38} ;
39
40inline Argument Named( const std::string& name){
41 return Argument( name );

Callers 3

NamedFunction · 0.70
operator[]Method · 0.70
operator()Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected