1 // Copyright (C) 2008 N. Musatti
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/config for most recent version.
8 // MACRO: BOOST_NO_TYPENAME_WITH_CTOR
9 // TITLE: Use of typename keyword with constructors
10 // DESCRIPTION: If the compiler rejects the typename keyword when calling
11 // the constructor of a dependent type
13 namespace boost_no_typename_with_ctor {
23 typename T::type f() {
24 return typename T::type();