Barry
10/11/2008 12:03:00 PM
On Oct 11, 10:06 am, Hermann <Hermann.Rich...@gmail.com> wrote:
> On Oct 10, 9:17 pm, Barry <dhb2...@gmail.com> wrote:
>
>
>
> > Wild guess: "How to now" is "How to name"
>
> No, I just missed a kay (How to Know...).
>
> > boost::list_of returns something that is implementation-defined.
>
> I didn't know boost::list_of were part of a standard. I mean, Boost
> library is just that, right? a library. Or is it an implementation of
> a standard??
Yes, you were right.
I change "implementation details" into "implementation-defined",
just as the document writes.
What I wanted to say is that the library implementer does NOT
expect the user to "know" the exact type of what boost::list_of
returns.
In this issue, it's really painful when debugging this kind of
compile-time error, as typeid(...).name() prints not helpful
information if not useless. Other ways? I'm also expecting to "know".
--
Best Regards
Barry