Boost logo

Boost Users :

Subject: Re: [Boost-users] [MPL] How to use a mpl::map
From: Daniele Barzotti (daniele.barzotti_at_[hidden])
Date: 2013-03-15 07:06:25


Hi Stefan,

thanks a lot for your answer!

> there are no templated typedefs

Yes, this is my type mistake over my tests! :-)

> However, IIUC what you're trying to do, you won't know the op code at
> compile time, as you're reading it at runtime from some kind of message
> stream.

Yes, it's what I need...unfortunately I'm a newbie in Metaprogramming!

> Maybe the following code is helpful to you. it does something very
> similar (read log entries of different types from a file).

Thanks!
I will try to figure out how to understand for my need!

Regards,
Daniele.


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