Topic: C++0X: allowing incomplete types in STL containers
Author: "Pavel Kuznetsov" <su41vo7la001@sneakemail.com>
Date: Fri, 26 Oct 2001 17:13:34 GMT Raw View
// Recently I asked in clc++m about reasoning behind forbidding usage
// of incomplete types for instantiation of C++ Standard Library
// template components. Since I have not received reasonable answer
// there, I desided to ask here.
As far as I can see technically it is possible to provide
implementation for Standard Library template components such that
would not require knowing complete type at the point of instantiation.
So it could be possible to modify The Standard in such a way that
instantiation of Standard Library template components would not cause
undefined behavior and be quite legitimate.
Am I wrong?
--
Pavel Kuznetsov
[ THE REPLY ADDRESS IS NOT GUARANTEED TO LIVE LONGER THAN FEW WEEKS! ]
[ The permanent address is: pavel <dot> kuznetsov <at> mail <dot> ru ]
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html ]