K
kid joe
Hi group,
I was reading a page on the new features in C99 and I saw that compound
literals (anonymous aggregates) can be created using the notation
( type-name ) { initializer-list }
Can anyone explain what the point of this is and give an example of how
it's used.
Cheers,
Joe
--
.---. .-----------
/ \ __ / ------
/ / \( )/ -----
////// ' \/ ` --- /=================\
//// / // : : --- | |
// / / /` '-- | Good Evening... |
// //..\\ | |
=============UU====UU============\================/
'//||\\`
''``
I was reading a page on the new features in C99 and I saw that compound
literals (anonymous aggregates) can be created using the notation
( type-name ) { initializer-list }
Can anyone explain what the point of this is and give an example of how
it's used.
Cheers,
Joe
--
.---. .-----------
/ \ __ / ------
/ / \( )/ -----
////// ' \/ ` --- /=================\
//// / // : : --- | |
// / / /` '-- | Good Evening... |
// //..\\ | |
=============UU====UU============\================/
'//||\\`
''``