Boost logo

Boost-Build :

Subject: Re: [Boost-build] vacpp and templates
From: Xavier Pegenaute (xpegenaute_at_[hidden])
Date: 2008-10-14 11:27:43


On dt, 2008-10-14 at 17:13 +0400, VoidEx wrote:

> Other way is to write templates in headers (or "inline" files) and include
> them, that used in most cases.

What does the other way means exactly? Actually I have something like:

template <typename A>
class B {
  void foo(A & a);

template <typename A>
void B::foo(A & a){ ... };

#include "1.h"

B<int> b();;

Thanks & Regards.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at