|
Boost : |
Subject: Re: [boost] Boost Optional
From: Laurent Dupuy (pizzafroide_at_[hidden])
Date: 2012-03-29 05:00:31
> From: Robert Jones <robertgbjones_at_[hidden]>
>
> Can you not simply say this?
>
> int main()
> {
> if (get()) {
> // OK
>
> } else if (!get()) {
> // ERROR
> }
>
> return 0;
> }
Or even better:
int main()
{
if (get()) {
// OK
} else {
// ERROR
}
return 0;
}
Laurent Dupuy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk