Boost logo

Boost Users :

Subject: [Boost-users] BOOST_FUSION_ADAPT_STRUCT
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-01-09 14:53:59


Hello,

 

Can I use this macro with specialized templates as well?

 

template <typename T>

struct range {

  T min ;

  T max ;

} ;

 

 

BOOST_FUSION_ADAPT_STRUCT(

   range<double>,

   (double, min)

   (double, max)

}

 

Rds,



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net