|
Boost Users : |
Subject: Re: [Boost-users] matrix function template for triangular_matrix and matrix datatypes
From: Max S. Kaznady (max.kaznady_at_[hidden])
Date: 2010-08-04 10:13:45
Yeah, it isn't. Even adding the template definition at the end of the
source file isn't supported well, at least by g++-4.4. So I ended up
adding the code to the header file. Boost functors use the same
solution, all code is inside the header, see here:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Examples_-_How_To_Extend_UBLAS
Max
On Tue, Aug 3, 2010 at 5:52 AM, Larry Evans <cppljevans_at_[hidden]> wrote:
> On 08/02/10 17:52, Max S. Kaznady wrote:
> [snip]
>>
>> There another resolution, which uses the "export"
>> keyword and you can also place the template declaration at the end of
>> the source file.
>
> [snip]
> Hi Max,
>
> Based on recent threads with subject:
>
> Any hopes for export ?
>
> in both Newsgroups:
>
> comp.std.c++
> comp.lang.c++.moderated
>
> I wouldn't depend on export being well supported.
>
> HTH.
>
> -Larry
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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