- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what's going on with variable templates? icc 2016 says they're supported (https://software.intel.com/en-us/articles/intel-c-compiler-160-for-linux-release-notes#cpp14), but when I try to compile the following code it fails with "-std=c++14". The code works with clang 3.7.
template<class T> constexpr int value_of = T::value; int main() { return 0; }
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about
Relaxing requirements on constexpr functions N3652 ?
It is not supported too.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page