{"action":"opened","issue":{"url":"https://api.github.com/repos/Keno/Cxx.jl/issues/252","repository_url":"https://api.github.com/repos/Keno/Cxx.jl","labels_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/252/comments","events_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/252/events","html_url":"https://github.com/Keno/Cxx.jl/issues/252","id":149610478,"number":252,"title":"ERROR: Unhandled template argument kind when displaying tuple","user":{"login":"JonathanAnderson","id":1015760,"avatar_url":"https://avatars.githubusercontent.com/u/1015760?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanAnderson","html_url":"https://github.com/JonathanAnderson","followers_url":"https://api.github.com/users/JonathanAnderson/followers","following_url":"https://api.github.com/users/JonathanAnderson/following{/other_user}","gists_url":"https://api.github.com/users/JonathanAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanAnderson/subscriptions","organizations_url":"https://api.github.com/users/JonathanAnderson/orgs","repos_url":"https://api.github.com/users/JonathanAnderson/repos","events_url":"https://api.github.com/users/JonathanAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanAnderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T23:22:58Z","updated_at":"2016-04-19T23:22:58Z","closed_at":null,"body":"It looks like something is wrong when displaying tuples. I can use a tuple and outputting the tuple to the screen just fine...\r\n\r\n```\r\njulia> cxx\" auto tup = std::make_tuple( 1, 2.3f ); \";\r\n\r\njulia> icxx\" std::cout << std::get<0>(tup) << ' ' << std::get<float>(tup) << std::endl; \"\r\n1 2.3\r\n(class std::basic_ostream<char> &) {\r\n}\r\n\r\n```\r\n\r\nbut I cannot print this tuple\r\n\r\n```\r\njulia> icxx\" tup; \"\r\nERROR: Unhandled template argument kind (8)\r\n in error(::ASCIIString) at ./error.jl:21\r\n [inlined code] from ./strings/io.jl:53\r\n in getTemplateParameters(::Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::CXXRecordDecl\")},(false,false,false)},(false,false,false)}, ::Bool, ::Dict{Int64,Void}) at /home/janders/.julia/v0.5/Cxx/src/typetranslation.jl:424\r\n in getTemplateParameters(::Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::CXXRecordDecl\")},(false,false,false)},(false,false,false)}) at /home/janders/.julia/v0.5/Cxx/src/typetranslation.jl:404\r\n in toBaseType(::Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::Type\")},(false,false,false)},(false,false,false)}) at /home/janders/.julia/v0.5/Cxx/src/typetranslation.jl:467\r\n in #juliatype#10(::Bool, ::Bool, ::Any, ::Cxx.QualType, ::Bool, ::Dict{Int64,Void}) at /home/janders/.julia/v0.5/Cxx/src/typetranslation.jl:626\r\n [inlined code] from /home/janders/.julia/v0.5/Cxx/src/typetranslation.jl:486\r\n in #EmitExpr#21(::Array{Any,1}, ::Any, ::Cxx.ClangCompiler, ::Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::Expr\")},(false,false,false)},(false,false,false)}, ::Ptr{Void}, ::Ptr{Void}, ::Tuple{}, ::Array{Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::ParmVarDecl\")},(false,false,false)},(false,false,false)},1}, ::Type{T}) at /home/janders/.julia/v0.5/Cxx/src/codegen.jl:694\r\n [inlined code] from /home/janders/.julia/v0.5/Cxx/src/codegen.jl:680\r\n in #CallDNE#30(::Array{Any,1}, ::Any, ::Cxx.ClangCompiler, ::Cxx.CppPtr{Cxx.CxxQualType{Cxx.CppBaseType{symbol(\"clang::Expr\")},(false,false,false)},(false,false,false)}, ::Tuple{}) at /home/janders/.julia/v0.5/Cxx/src/cxxstr.jl:329\r\n in (::Vararg{Any})() at /home/janders/.julia/v0.5/Cxx/src/cxxstr.jl:347\r\n in eval(::Module, ::Any) at ./boot.jl:236\r\n\r\n```\r\nI did all of this with a clean install as of today.\r\n\r\n```\r\njulia> versioninfo()\r\nJulia Version 0.5.0-dev+3630\r\nCommit b0e098a* (2016-04-19 15:51 UTC)\r\nPlatform Info:\r\n  System: Linux (x86_64-redhat-linux)\r\n  CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)\r\n  LAPACK: libopenblas64_\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.7.1 (ORCJIT, has well)\r\n\r\nshell> git --git-dir $(Pkg.dir(\"Cxx\"))/.git log | head -n5\r\ncommit 423d56f1ce65806b300c36088ddcb7ccdd5027f5\r\nAuthor: Keno Fischer <...>\r\nDate:   Mon Apr 18 02:08:47 2016 -0400\r\n\r\n    Replace feature detect by version check. Fixes #250\r\n\r\n```"}}