$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [type-traits] virtual function type trait check
From: Chris (indy271828_at_[hidden])
Date: 2008-10-31 16:06:24
I was wondering if it were possible to make a is_virtual_function type
trait check.
Example:
class B
{
public:
virtual void complicatedFunction() { }
};
class D : public B
{
public:
void complicatedFnction()
{
static_assert(**check if D::complicatedFnction() is virtual **); //
notice the misspelling.
}
};