Re: Problem creating mapping from string to vector_expression

Oswin Krause via ublas <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <[email protected]>
On 2017-03-30 16:43, Nasos Iliopoulos via ublas wrote:
> I don't think what you are trying to achieve is possible. The reason
> is that when you try to instantiate anything of the form:
> 
> unordered_map<std::string, vector_expression <T> >
> 
> it will turn to be a  type like:
> 
> unordered_map<std::string, vector_expression <
> vector<container<vector<int>>> >
> 
> So "c" will only be able to deal with vector<int>.
Note that this will still fail to work even for vector<int> in the 
example as the vector_expression base class itself does not represent 
the vector.

Best,
Oswin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.