Skip to content
Snippets Groups Projects
Commit efe8b0a6 authored by Pierre Gergondet's avatar Pierre Gergondet
Browse files

Don't export/import template functions

parent e30bf725
No related branches found
No related tags found
No related merge requests found
......@@ -50,14 +50,12 @@ namespace dynamicgraph
static boost::any cast (std::istringstream& iss);
DYNAMIC_GRAPH_DLLAPI
static void disp (const boost::any& object, std::ostream& os)
static void disp (const boost::any& object, std::ostream& os)
{
os << boost::any_cast<T> (object) << std::endl;
}
DYNAMIC_GRAPH_DLLAPI
static void trace (const boost::any& object, std::ostream& os)
static void trace (const boost::any& object, std::ostream& os)
{
disp(object,os);
}
......@@ -155,15 +153,12 @@ public:
static void disp( TYPE const& t,std::ostream& os ) DISP \
static void trace( TYPE const& t,std::ostream& os ) TRACE \
public: \
DYNAMIC_GRAPH_DLLAPI \
static boost::any cast_( std::istringstream& stringValue ) { \
return boost::any_cast<TYPE>(cast(stringValue)); \
} \
DYNAMIC_GRAPH_DLLAPI \
static void disp_( const boost::any& t,std::ostream& os ) { \
disp(boost::any_cast<TYPE>(t), os); \
} \
DYNAMIC_GRAPH_DLLAPI \
static void trace_( const boost::any& t,std::ostream& os ) { \
trace(boost::any_cast<TYPE>(t),os); \
} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment