2010/9/26 Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>:
> Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu> wrote:
>>(...)
>
> One issue that has not been talked about in this thread
> is strong typing. If you remember the problems with
> Johan's diff / blame optimizations, the reason behind
> it was a confusion of type semantics. Some ints were
> line numbers, others were file offsets. But there was / is
> no formal way to tell them apart.
>
> Since you decided to use templates in your code, I
> thought I would give it a try and design a simple template
> class that allows you to define any number of int-like
> types that are mutually distinct and require explicit
> conversion.
>
> It would be nice to have the C++ wrappers use these
> types instead of plain ints etc. in their signatures.
>
> -- Stefan^2.
>
I think this message was intended for dev_at_subversion, not dev_at_tortoisesvn.
Previous message in this thread:
http://thread.gmane.org/gmane.comp.version-control.subversion.devel/122788/focus=122888
Best regards,
Konstantin Kolinko
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2664773
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-26 16:37:33 CEST