aboutsummaryrefslogtreecommitdiff
path: root/odb/details/function-wrapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/function-wrapper.hxx')
-rw-r--r--odb/details/function-wrapper.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/details/function-wrapper.hxx b/odb/details/function-wrapper.hxx
index 3a8ebfc..165df18 100644
--- a/odb/details/function-wrapper.hxx
+++ b/odb/details/function-wrapper.hxx
@@ -59,6 +59,11 @@ namespace odb
void swap (function_wrapper<F>&);
+ // Cleanly cast to an incompatible function type.
+ //
+ template <typename R> R
+ cast () const;
+
// Conversion to bool.
//
public: