|
Boost Users : |
Subject: Re: [Boost-users] bidirectional map
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2011-05-19 03:27:41
I am getting the compiler errors when i use the below
The error is ONLY when i instantiate the integrator object:
I.e....
index_iterator<Ply_Table,PlyPtr>::type ic00,ic11;
Errors:
Error 1 error C2027: use of undefined type
'boost::STATIC_ASSERTION_FAILURE<x>'
c:\software\hm11_sa101_dev\third_party\boost\boost_1_41_0\boost\multi_in
dex_container.hpp 793
Error 2 error C2039: 'iterator' : is not a member of
'boost::mpl::void_'
c:\software\hm11_sa101_dev\third_party\boost\boost_1_41_0\boost\multi_in
dex_container.hpp 936
Error 3 error C2146: syntax error : missing ';' before identifier
'type'
c:\software\hm11_sa101_dev\third_party\boost\boost_1_41_0\boost\multi_in
dex_container.hpp 936
Etc..
Source Code:
typedef multi_index_container<
Ply_Model,
indexed_by<
ordered_non_unique<
tag<ElementPtr>,
key_from_key<
BOOST_MULTI_INDEX_MEMBER(elementpointer,const size_t,Id),
BOOST_MULTI_INDEX_MEMBER(Ply_Model,const elementpointer
*,ElementPtr)
>
>,
ordered_non_unique<
tag<plypointer>,
key_from_key<
BOOST_MULTI_INDEX_MEMBER(plypointer,const size_t,Id),
BOOST_MULTI_INDEX_MEMBER(Ply_Model,const plypointer *,PlyPtr)
>
>
>
>
Any help in this regard would be highly appriocated
Regards,
UJ
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net