From 86a8b67400d42270839ddce946dbc2f49dd4c855 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Oct 2017 06:28:31 +0200 Subject: options: misc --- options/value.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/options/value.hpp b/options/value.hpp index 0f5d876f..e8c39445 100644 --- a/options/value.hpp +++ b/options/value.hpp @@ -95,6 +95,12 @@ public: never_inline operator t() const { return std::forward(get()); } + never_inline + t operator->() const + { + return get(); + } + never_inline void reload() override { -- cgit v1.2.3