c++ - "circular_buffer":"BlockDiagram::Filter<T>StampedValue" is not a valid template type argument for parameter "T" -


following implementation leads error "circular_buffer":"blockdiagram::filterstampedvalue" not valid template type argument parameter "t".

header-file:

namespace blockdiagram {   template<class t=double>   class filter {    public:     typedef struct {         std::chrono::time_point<std::chrono::system_clock> tv;         t  d;     } stampedvalue;     typedef circular_buffer<filter<t>::stampedvalue> cbuf_type;...} 

cpp-file:

namespace blockdiagram {  template<class t> filter<t>::filter() {     ... }} 

unfortunately have no clue wrong in implementation.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -