by Vincent Zalzal
From the article:
Strong types promote safer and more expressive code. I won’t repeat what Jonathan has presented already in his series on strong types.
I suspect some people may find that the NamedType class template has a nice interface but is using a somewhat heavy machinery to achieve the modest goal of strong typing. For those people, I have good news: you can achieve many of the functionalities of NamedType, with a very simple tool. That tool is the humble struct...