thomasmoelhave / tpie

Templated Portable I/O Environment
Other
112 stars 24 forks source link

tuple_utils error #230

Closed Antonavt closed 6 years ago

Antonavt commented 6 years ago

I try to compile my old program that use tpie with new version of tpie from github. And receive these compile errors: /usr/local/include/tpie/tuple_utils.h:26:6: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type std::enable_if_t<I == std::tuple_size<typename std::remove_reference<Tuple>::type>::value> ^ /usr/local/include/tpie/tuple_utils.h:35:6: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type std::enable_if_t<I != std::tuple_size<typename std::remove_reference<Tuple>::type>::value> As i see this is a new file. Are these errors because I'm not compiling a program correctly?

tyilo commented 6 years ago

What compiler are you using and are you using an older standard than c++14?

Antonavt commented 6 years ago

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 And i am using c++14

Antonavt commented 6 years ago

Sorry, a problem was on my side, thanks for a fast answer.

tyilo commented 6 years ago

No problem :)