doc/named-param.dox
changeset 1359 3ec484b11733
parent 463 88ed40ad0d4f
equal deleted inserted replaced
3:598a0a36b07a 4:47dd984cbaac
    23 \section named-func-param Named Function Parameters
    23 \section named-func-param Named Function Parameters
    24 
    24 
    25 Several modern languages provide a convenient way to refer the
    25 Several modern languages provide a convenient way to refer the
    26 function parameters by name also when you call the function. It is
    26 function parameters by name also when you call the function. It is
    27 especially comfortable in case of a function having tons of parameters
    27 especially comfortable in case of a function having tons of parameters
    28 with natural default values. Sadly, C++ lack this amenity.
    28 with natural default values. Sadly, C++ lacks this amenity.
    29 
    29 
    30 However, with a crafty trick and with some little
    30 However, with a crafty trick and with some little
    31 inconvenience, it is possible to emulate is.
    31 inconvenience, it is possible to emulate is.
    32 The example below shows how to do it.
    32 The example below shows how to do it.
    33 
    33