From 3b4bad921727434d56aea1f5b0bde83416d853a3 Mon Sep 17 00:00:00 2001 From: Peder Holt Date: Sun, 4 Feb 2007 09:26:13 +0000 Subject: [PATCH] Added documentation: BOOST_TYPEOF_NESTED_TYPEDEF can not be used at function/block scope [SVN r36885] --- doc/typeof.qbk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/typeof.qbk b/doc/typeof.qbk index fa20d40..70c6b2e 100644 --- a/doc/typeof.qbk +++ b/doc/typeof.qbk @@ -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