Hi,
I'm using Boost.Preprocessor to create specializations of a class I have
named InputSource. in the iteration loop, I have the following:
# define i BOOST_PP_ITERATION()
# define INPUT_repeat(z, n, user) user
template
For those interested in the entire file (Somewhat large), here you go:
#ifndef BOOST_PP_IS_ITERATING
# ifndef vfx_input_InputSource_hpp__
# define vfx_input_InputSource_hpp__
# include
Problem solved: I was missing a couple of boost/processor includes, so the macros couldn't be found and thus could not be expanded. This resulted in no compiler errors, which scares me. I'm also able to pass in an insufficient number of template parameters into my class and it also compiles just fine.
participants (1)
-
Robert Dailey