#include <stlsoft/util/constraints.hpp>
List of all members.
Detailed Description
template<typename D, typename B>
 struct stlsoft::must_be_derived< D, B >
Constraint to ensure that the one type is convertible to another via inheritance, but is not the same type. 
- Parameters:
- 
  
    |  | D | The derived type |  |  | B | The base type |  
 
It may be used as follows: 
- Note:
- This extension to the must_have_base constraint was proposed by Peter Bannister after reading Chapter 1 of Imperfect C++.
- See also:
- stlsoft::must_have_base 
The documentation for this struct was generated from the following file: