List Info

Thread: bind a boost::fusion::at_key




bind a boost::fusion::at_key
user name
2006-11-24 09:45:10
Hi,
 
I'm trying to bind boost::fusion::at_key, but i do not understand why the following piece of code do not compile :

 

struct tag

{

class a;

class b;

class c;

};

 

typedef boost::fusion::map<;

 &nbsp;   &nbsp; &nbsp;  bf::pair&lt;tag::a, size_t>

 &nbsp;   &nbsp;  , bf::pair&lt;tag::b, size_t>

 &nbsp;   &nbsp;  , bf::pair&lt;tag::c, size_t> > TMyFusionMap;

 ;

TMyFusionMap aFusionMap(7,8,9);

 

std::cout << boost::fusion::at_key<tag::b&gt;(aFusionMap) << std::endl; //work

std::cout << boost::bind(&boost::fusion::at_key<tag::b>, _1)(aFusionMap) << std::endl; //do not compile on msvc 8.0

std::cout << boost::bind<size_t &>(&boost::fusion::at_key<tag::b>, _1)(aFusionMap) << std::endl; //do not compile on msvc 8.0

 

 

any idear ?



Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
AW: Strange: Slide Server Getting hang, No reason
user name
2006-11-23 14:19:28
Zeitler, Bernd <Bernd.Zeitler <at> VSA.de>
writes:


Do you use lucene indexer with slide ? is this case use it
synchronously 
 (see Domain .xml to set up lucene indexer)

Did ou try to set up < differ_writting> to false in
Domain.xml ?


Regards

B DOREL


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

AW: Strange: Slide Server Getting hang, No reason
user name
2006-11-25 03:35:48
Hi Dorel,
Yes i am using lucene with slide. I have configured it as
suggested in
Documentation correctly. But I don't know about synchronous
and
differ_writting? Plz explain it.
Thanks...

B DOREL wrote:
> 
> Zeitler, Bernd <Bernd.Zeitler <at> VSA.de>
writes:
> 
> 
> Do you use lucene indexer with slide ? is this case use
it synchronously 
>  (see Domain .xml to set up lucene indexer)
> 
> Did ou try to set up < differ_writting> to false
in Domain.xml ?
> 
> 
> Regards
> 
> B DOREL
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble
.com/Strange%3A-Slide-Server-Getting-hang%2C-No-reason-tf262
9017.html#a7535443
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )