title: Can C++17 be used together with CUDA using clang?
body: <p>As far as using <code>nvcc</code>, one needs to use the corresponding <code>gcc</code> (currently max. 5.4 I believe) in conjunction. This of course somewhat prevents one from using C++17 on the host side.</p>
  
  <p>Since C++17 can be compiled using <code>clang 5</code> and upwards (see <a href="http://clang.llvm.org/cxx_status.html" rel="noreferrer">here</a>), and one can compile cuda code as well (see <a href="http://llvm.org/docs/CompileCudaWithLLVM.html" rel="noreferrer">here</a>), <strong>is it possible to use both C++17 and CUDA at the same time</strong> (or can there be problems, e.g. with the CUDA runtime)?</p>