[Insight-developers] Borland/VS issues with new checkins

Luis Ibanez luis.ibanez at kitware.com
Sat Aug 8 09:56:21 EDT 2009


Hi Brad,

We will have to run the experiment, to be sure.
(between having these functions be part of a namespace
or be static member functions of a class).

I would slightly prefer the second, but can go either way.


We could try this in the following days as we stabilize the
Dashboard for the release.


       Luis


--------------------------------------------
On Wed, Aug 5, 2009 at 9:14 AM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

>
> Is this case different since this is not a member function?
>
> Actually there was still a discussion about whether these methods should be
> part of a class or just namespace functions. I think.
>
> Brad
>
>
>
> On Aug 5, 2009, at 2:56 AM, Tom Vercauteren wrote:
>
>  Hi Luis,
>>
>> Thanks for this information. I guess the same rule applies to the
>> templated rounding functions we were discussing a few days ago:
>>
>> http://www.itk.org/mailman/private/insight-developers/2009-July/013121.html
>>
>> This means that this code
>>
>> template <typename TReturn, typename TInput>
>> inline TReturn Round(TInput x) { [snip] }
>>
>> will not compile on VS60, right? But then, is the following
>> alternative usable on these compilers?
>>
>> template <typename TReturn, typename TInput>
>> inline TReturn Round(TInput x, TReturn * = 0) { [snip] }
>>
>> Tom
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090808/5c17ce8c/attachment.htm>


More information about the Insight-developers mailing list