Boost logo

Boost Users :

Subject: Re: [Boost-users] Insertion/Use of boost::multi_index
From: Ram (sourceopen_at_[hidden])
Date: 2016-09-19 05:08:43


Sorry,

This was the error,

.
.
kytj.cpp
ky_op_tj.cpp
c:\code\common\lib\boost\boost\detail\allocator_utilities.hpp(153) : error
C2061: syntax error : identifier 'p'

c:\code\common\lib\boost\boost\multi_index\detail\index_base.hpp(105) : see
reference to function template instantiation 'void
boost::detail::allocator::construct<Container*>(void *,const Type &)' being
compiled
        with
        [
            Type=Container *
        ]

c:\code\common\lib\boost\boost\multi_index\detail\index_base.hpp(102) :
while compiling class template member function
'boost::multi_index::detail::hashed_index_node<Super,Category>
*boost::multi_index::detail::index_base<Value,IndexSpecifierList,Allocator>::insert_(Container
*const &,boost::multi_index::detail::hashed_index_node<Super,Category>
*&,boost::multi_index::detail::lvalue_tag)'
        with
        [

Super=boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::index_node_base<Container
*,std::allocator<Container
*>>,boost::multi_index::detail::hashed_unique_tag>,
            Category=boost::multi_index::detail::hashed_unique_tag,
            Value=Container *,

IndexSpecifierList=boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,key1,DBObject::getkey1>>,boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,Vs64,DBObject::getkey2>>>,
            Allocator=std::allocator<Container *>
        ]
        c:\code\common\lib\boost\boost\multi_index\hashed_index.hpp(93) :
see reference to class template instantiation
'boost::multi_index::detail::index_base<Value,IndexSpecifierList,Allocator>'
being compiled
        with
        [
            Value=Container *,

IndexSpecifierList=boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,key1,DBObject::getkey1>>,boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,Vs64,DBObject::getkey2>>>,
            Allocator=std::allocator<Container *>
        ]
        c:\code\common\lib\boost\boost\multi_index\hashed_index.hpp(93) :
see reference to class template instantiation
'boost::multi_index::detail::hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>'
being compiled
        with
        [

KeyFromValue=boost::multi_index::const_mem_fun<DBObject,Vs64,DBObject::getkey2>,
            Hash=boost::hash<boost::long_long_type>,
            Pred=std::equal_to<__int64>,
            SuperMeta=boost::multi_index::detail::nth_layer<2,Container
*,boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,key1,DBObject::getkey1>>,boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,Vs64,DBObject::getkey2>>>,std::allocator<Container
*>>,
            TagList=boost::mpl::vector0<boost::mpl::na>,
            Category=boost::multi_index::detail::hashed_unique_tag
        ]
        c:\code\common\lib\boost\boost\multi_index_container.hpp(100) : see
reference to class template instantiation
'boost::multi_index::detail::hashed_index<KeyFromValue,Hash,Pred,SuperMeta,TagList,Category>'
being compiled
        with
        [

KeyFromValue=boost::multi_index::const_mem_fun<DBObject,key1,DBObject::getkey1>,
            Hash=boost::hash<boost::long_long_type>,
            Pred=std::equal_to<__int64>,
            SuperMeta=boost::multi_index::detail::nth_layer<1,Container
*,boost::multi_index::indexed_by<boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,key1,DBObject::getkey1>>,boost::multi_index::hashed_unique<boost::multi_index::const_mem_fun<DBObject,Vs64,DBObject::getkey2>>>,std::allocator<Container
*>>,
            TagList=boost::mpl::vector0<boost::mpl::na>,
            Category=boost::multi_index::detail::hashed_unique_tag
        ]
        c
.
.
.
Build log was saved at "file://c:\code\win\Debug\obj\BuildLog.htm"
ProjABC - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thanks,
Ram



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