From 030054d645aaa96a0f6f427b7b4780763a2cf248 Mon Sep 17 00:00:00 2001 From: Noel Cower Date: Sun, 30 Nov 2014 14:28:17 -0800 Subject: [PATCH] Document make_value. --- vm_value.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vm_value.h b/vm_value.h index 113271e..6ee51fe 100644 --- a/vm_value.h +++ b/vm_value.h @@ -394,6 +394,12 @@ std::ostream &operator << (std::ostream &out, vm_value v); +/** + * Convenience function to construct a vm_value from an arithmetic type. + * + * This function may be overloaded as needed to provide vm_value objects for + * various other types. + */ template < typename T, typename Decayed = typename std::decay::type,