On 11 July 2011 19:59, eric wrote: > // Example 5-10 constrained_value.hpp > #ifndef CINSTRAINED_VALUE_HPP ^ ??? > #define CONSTRAINED_VALUE_HPP > > #include <cstdlib> > #include <iostream> > > using namespace std; > > template<class Policy_T> > struct ConstrainedValue > { > public: > // public typedefs > typedef typename Policy_T policy_type; ^ typename not allowed here