diff -r b63d62c675fe -r b5e31973fe20 c++/rgb-assembler/types.h --- a/c++/rgb-assembler/types.h Thu Dec 28 23:11:43 2017 +0100 +++ b/c++/rgb-assembler/types.h Sun Mar 04 15:20:24 2018 +0100 @@ -20,11 +20,11 @@ #include -typedef uint16_t address_t; -typedef uint8_t octet_t; -typedef uint8_t command_t; -typedef uint8_t sleep_t; -typedef uint8_t color_t; -typedef uint8_t led_t; +using address_t = uint16_t; +using octet_t = uint8_t; +using command_t = uint8_t; +using sleep_t = uint8_t; +using color_t = uint8_t; +using led_t = uint8_t; // TODO: strong typedefs http://www.boost.org/doc/libs/1_61_0/libs/serialization/doc/strong_typedef.html ?