Hello,
Following this post:

  
    
    
    Libtorch + C++17 + Visual Studio 
  
  
    Hello all, 
environment: 
Windows 10 
CUDA 10.1 
CuDNN 7.6.5 
libtorch from pytorch website, release mode (latest stable one) 
I am able to use libtorch in a separate Visual Studio 2017 project and do the inference. 
However, I need to link libtorch to another project which is using C++17 and I get deprecation errors like this: 
Error	C4996	'std::result_of_t': warning STL4014: std::result_of and std::result_of_t are deprecated in C++17. They are superseded by std::invoke_result and std::invoke_r…
  


and this one:

  
      github.com/Siv3D/OpenSiv3D
  
  
    
  
	  
  

  
    
      My project (libtorch c++) is ISO C++14 Standard (/std:c++14) 9
    

    
      
        opened 
        
          
        
        Sep 15, 2020
      
      


      
        
          
          QuantScientist
        
      
    
  



  However, you require std:c++latest when using VC.
Anyway this can be resolved?
I am trying to integrate both libraries.



    question


  
  
    
    
  
  


I am trying to integrate Libtorch into the Siv3d gaming environment which only works with std++latest.
Is there anything I can do to remedy this? The version that Libtorch works with is std++17 but not std++latest.
image1597×978 102 KB
Thanks