$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-07-24 15:54:33
Hi,
I think it would be nice to have a "nonconstructible" class to derive
from similar to noncopyable.
Recently I was burned by a traits class that was getting constructed.
I think this should also be used for template metafunctions.
I envision something like the following:
struct nonconstructible
{
private:
nonconstructible() {}
}
template<typename T>
struct my_traits : nonconstructible
{
typedef int my_type;
};
Chris