2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-18 02:12:09 +00:00

scope/local_variable.hpp Put in test is_value

This commit is contained in:
John Fletcher
2015-02-02 22:22:35 +00:00
parent 610f30ccdb
commit cbad5d4ac6

View File

@@ -127,6 +127,9 @@ namespace boost { namespace phoenix
typedef detail::eval_local<Key> eval_local;
// Detect if the return_type is for a value.
typedef typename is_value<return_type>::type is_value_type;
return eval_local::template get<return_type, index_value>(
phoenix::env(ctx));
}