mirror of
https://github.com/boostorg/typeof.git
synced 2025-05-09 23:14:01 +00:00
From HEAD: Added documentation: BOOST_TYPEOF_NESTED_TYPEDEF can not be used at function/block scope
[SVN r36886]
This commit is contained in:
parent
43b4d4522c
commit
c66289f7ac
@ -586,6 +586,8 @@ larger expressions.
|
||||
If you want to use `typeof_nested_typedef` in a template-context, use `BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr)`,
|
||||
which takes care of `typename` inside the `typeof` expression.
|
||||
|
||||
'typeof_nested_typedef' can not be used at function/block scope.
|
||||
|
||||
[h4 Sample Code]
|
||||
|
||||
template<typename A, typename B>
|
||||
|
Loading…
x
Reference in New Issue
Block a user