diff --git a/src/bindings/eo_cxx/eo_cxx_interop.hh b/src/bindings/eo_cxx/eo_cxx_interop.hh index 4a159495fc..8d17e89902 100644 --- a/src/bindings/eo_cxx/eo_cxx_interop.hh +++ b/src/bindings/eo_cxx/eo_cxx_interop.hh @@ -37,6 +37,12 @@ to_c(bool x) return x ? EINA_TRUE : EINA_FALSE; } +template +T to_c(T const& v) +{ + return v; +} + //// From C to C++ template