I try to extend the std::array type but i can't compile.
With my others structs i haven't the problem.
I tried to read the sources of rtt for std::vectors, but i can't find the solution.
I join a simple file that reproduce the problem.
Could you help me to understand what happens please ?
Paul.
Attachment | Size |
---|---|
MyTypekitPlugin.cpp | 925 bytes |
MyTypekitPlugin.hpp | 263 bytes |
Can't make a toolkit for std::array : gcc says no match for ‘ope
Hi Paul,
On Sunday 28 February 2010 19:51:40 paul [dot] chavent [..] ... wrote:
> I try to extend the std::array type but i can't compile.
>
> With my others structs i haven't the problem.
>
> I tried to read the sources of rtt for std::vectors, but i can't find the
> solution.
>
> I join a simple file that reproduce the problem.
>
> Could you help me to understand what happens please ?
The solution is to put the operator<< functions into the RTT namespace (works
here). Maybe we should modify the TemplateTypeInfo that it looks up the
operator<< in the global namespace...
Peter
Can't make a toolkit for
Ok, but i was wondering why it compile for the struct Bar but not for the typedef.
I will try your advise.
Thanks.
Can't make a toolkit for std::array : gcc says no match for ‘ope
Ok, but i was wondering why it compile for the struct Bar but not for the typedef.
I will try your advise.
Thanks.
Can't make a toolkit for std::array : gcc says no match for ‘ope
I try to extend the std::array type but i can't compile.
With my others structs i haven't the problem.
I tried to read the sources of rtt for std::vectors, but i can't find the solution.
I join a simple file that reproduce the problem.
Could you help me to understand what happens please ?
Paul.