v0.14.0
error_when_instantiated.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace FTensor
4 {
5  // Helper function to so that the generic permute() only fails if
6  // actually instantiated
7  template <typename T> constexpr bool error_when_instantiated()
8  {
9  return false;
10  }
11 }
FTensor
JSON compatible output.
Definition: Christof_constructor.hpp:6
FTensor::error_when_instantiated
constexpr bool error_when_instantiated()
Definition: error_when_instantiated.hpp:7