Subject: Re: [Boost-docs] using import - from two .qbk files
From: John Maddock (john_at_[hidden])
Date: 2007-08-13 12:13:19
Paul A Bristow wrote:
> I am struggling using import, and have had bizarre problems with the
> name of the template in the imported file where changing the name
> seems to make it work. I get a message like:
> error: Could not open input file.
> and yet in the example below, the link
> [@../../example/error_handling_example.cpp error_handling_example.cpp]
> finds the file OK, so am I right to be confident that
> [import ../../example/error_handling_example.cpp]
> is correct?
which works OK.
> I have the same code (I believe) elsewhere in the docs, in a
> different section,
> and it works OK in the html.
> Any ideas what I am doing wrong?
> Is it wrong to import twice? Is it wrong to 'use' twice with
You must only import once, then you can use the defined template
[error_handling_example] as many times as needed.
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC