$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] detect an enum type in template arguments
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2011-03-03 15:36:28
On 3.3.2011 7:32, Aston wrote:
> consider the example below, is there a way to detect an enum type and non-enum type ?
You can use boost::is_enum metafunction from the type traits
library. Example attached.