Are clang++ and libc++ compatible?

Zhihao Yuan zy at miator.net
Tue Nov 12 17:13:45 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 should not be required to be compete
at the instantiation time of the class template itself.  I'll forward this
message to libc++.

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