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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user