Are clang++ and libc++ compatible?
Zhihao Yuan
lichray at gmail.com
Tue Nov 12 20:05:34 UTC 2013
On Tue, Nov 12, 2013 at 11:54 AM, Steve Kargl
<sgk at troutmask.apl.washington.edu> wrote:
> struct Entry {
> time_t date;
> Severity severity;
> std::deque<Entry> messages;
> std::string message;
> bool is_child;
> Entry() : is_child(false) { }
> };
This is a libc++ QoI issue; T had better not be required to be compete
at the instantiation time of the class template itself. I've reported this
forward this issue to libc++ upstream.
BTW, iirc VC STL has the same issue. But libstdc++ has an honorable
history of supporting incomplete type in STL declaration.
--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
More information about the freebsd-current
mailing list