$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [mpl] Accessing the nested value of an invoked placeholder
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2010-10-27 17:36:57
Hi Dave,
On Wed, Oct 27, 2010 at 2:59 PM, David Abrahams <dave_at_[hidden]> wrote:
<snip code>
> This is a problem; reaching inside a template for a member (like
> ::type) always causes it to be instantiated. That means
> traitMeta<_>::type gets evaluated early, which isn't what you want.
> I think if you just drop the ::type you'll get the semantics you want.
Ah, this makes sense. Thanks for the explanation, things are working now.
Nate