![]() |
Boost Docs : |
From: John Maddock (john_at_[hidden])
Date: 2007-07-30 12:52:56
I'm trying to write a template like this:
[template snippet[name]
[import ../example/[name].cpp]
[[name]]
]
So I can then just write:
[snippet policy_eg_2]
and have it insert the marked up contents of policy_eg_2.cpp at that point,
but I get:
c:/data/boost/boost/sandbox/math_toolkit/libs/math/example/[name: error:
Could not open input file.
So there seems to be an issue with template expansion in this case?
Or am I missing something?
Thanks, John.