This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20453] GCC fails to treat a valid constant expression as a template argument
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2005 14:30:54 -0000
- Subject: [Bug c++/20453] GCC fails to treat a valid constant expression as a template argument
- References: <20050313132811.20453.joaquin@tid.es>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20453