diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-09-23 18:57:23 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-09-23 18:57:23 +0200 |
commit | 3d1ba08f49b0ccf9caba669564190f6b5afc7b6f (patch) | |
tree | 3318a8c29f4dbd8fb20143ddbe708cee00468810 /gcc/vec.h | |
parent | 3b31f720966b5b8ad2f9266fc4eec73c18ed3ddb (diff) | |
download | gcc-3d1ba08f49b0ccf9caba669564190f6b5afc7b6f.zip gcc-3d1ba08f49b0ccf9caba669564190f6b5afc7b6f.tar.gz gcc-3d1ba08f49b0ccf9caba669564190f6b5afc7b6f.tar.bz2 |
vec.h (vnull::operator vec): Add constexpr keyword for C++11 and later.
* vec.h (vnull::operator vec): Add constexpr keyword for
C++11 and later.
From-SVN: r240443
Diffstat (limited to 'gcc/vec.h')
-rw-r--r-- | gcc/vec.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -414,6 +414,9 @@ struct GTY((user)) vec struct vnull { template <typename T, typename A, typename L> +#if __cpp_constexpr >= 200704 + constexpr +#endif operator vec<T, A, L> () { return vec<T, A, L>(); } }; extern vnull vNULL; |