On Tue, Nov 12, 2013 at 11:54 AM, Steve Kargl <s...@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/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"