Boost logo

Boost :

From: v m (boost_vam_at_[hidden])
Date: 2002-10-31 14:48:04

The following is the ConvertibleConcept from

template <class X, class Y>
  struct ConvertibleConcept
    void constraints() {
      Y y = x;
    X x;

Consider the situation where
1. operator Y & (or const Y &) is defined in class X
2. Y is not copy constructible.

In this situation the above test fails, though X is
convertible to Y.

How about using something like:

Vamshi Mugu
North Dakota State University

Do you Yahoo!?
HotJobs - Search new jobs daily now

Boost list run by bdawes at, gregod at, cpdaniel at, john at