$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ken (krovchuck_at_[hidden])
Date: 2007-04-19 18:31:04
On Apr 19, 2007, at 2:02 PM, Ovanes Markarian wrote:
> Hello all!
>
>
> I have a question on static typing. Does someone know or can
> imagine a way on producing unique
> static types. An example:
>
>
> typedef unsigned int some_type;
> typedef unsigned int other_type;
>
The typedef just renames the type, it does not make create a unique
type.
You can use a struct:
struct { unsigned int x } some_type;
struct { unsigned int x } other_type;
though this makes using the types ugly.
Ken Krovchuck