|
Boost Users : |
Subject: Re: [Boost-users] Boost.Function compile error
From: Igor R (boost.lists_at_[hidden])
Date: 2013-03-07 03:00:54
> thx, I got a simpeler case without Boost.Function:
>
>
> struct Bla
> {
> template <typename T>
> Bla(T t){ t; }
> };
>
>
> void Test()
> {
> std::identity<int> id;
>
> Bla(id); //<-
> }
>
>
> From curiosity (and not a Boost.Function question anymore), which c++ rule
> kicks on to treat as a declaration?
Most vexing parse:
http://en.wikipedia.org/wiki/Most_vexing_parse
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