[Bug c++/20453] GCC fails to treat a valid constant expression as a template argument

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 13 14:31:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-13 14:30 -------
I cannot reproduce it either with an obvious change to fix the missing >:
#include <cstddef>

template <
     std::size_t size_
   , std::size_t alignment_ = std::size_t(-1)>
class aligned_storage

int main()
  aligned_storage<1> as;



More information about the Gcc-bugs mailing list