diff --git a/include/xo/facet/obj.hpp b/include/xo/facet/obj.hpp index b50bf65..3983cec 100644 --- a/include/xo/facet/obj.hpp +++ b/include/xo/facet/obj.hpp @@ -103,7 +103,12 @@ namespace xo { return *this; } - /** safe downcast from variant. null if downcast fails **/ + /** safe downcast from variant. null if downcast fails + * + * Use: + * obj x = ...; + * obj quux = obj::from(x); + **/ static obj from(const OObject & other) { return obj(other.template downcast()); }