I'm attempting to use tuple
in my program, and for some reason I am not able to simplify the call with a using
declaration. For example:
#include <tuple>
using std::tuple;
...
This throws an error when attempting to compile it:
error: no member named 'tuple' in namespace 'std'
I'm able to use using
declarations for other things (like std::string
, std::get
, etc.) just fine. I think I've narrowed it down to a compiler issue, but I don't have control over which compiler I get to use (university server) and I can't find anything online showing a lack of support for this header or anything. Here is my compiler information:
$ clang++ -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Any thoughts? Here's an example of it working elsewhere: http://cpp.sh/5bofm