summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/cxx/eo_cxx/eo_cxx_interop.hh')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_cxx_interop.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
index edc68f1f39..e6b2780fe8 100644
--- a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
+++ b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh
@@ -605,6 +605,11 @@ T convert_to_return(T value, tag<T, T>)
605{ 605{
606 return value; 606 return value;
607} 607}
608template <typename U, typename T>
609T convert_to_return(U const value, tag<U const, T>)
610{
611 return value;
612}
608template <typename T> 613template <typename T>
609T& convert_to_return(T* value, tag<T*, T&>) 614T& convert_to_return(T* value, tag<T*, T&>)
610{ 615{