Boost logo

Boost Users :

From: Stephen Gross (sgross_at_[hidden])
Date: 2006-05-09 14:38:10

I just found out about the typeof feature in g++. I'm trying to use the type
returned by a boost::bind invocation. Is there any way to make the following

struct A { int foo(); }
typedef typeof(boost::bind(A::foo)) my_type;

So far, g++ just seg faults on me. Am I doing something horribly wrong, or
is this (more likely) not possible in the first place?


Stephen Gross
Case Western School of Medicine
Cleveland, OH

"By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at