$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] usage of auto in tutorials
From: degski (degski_at_[hidden])
Date: 2019-03-22 15:31:05
On Fri, 22 Mar 2019 at 17:18, Olaf van der Spek via Boost <
boost_at_[hidden]> wrote:
> > > if (auto rslt = read_data_from_file("config.cfg"))
>
> Is rslt short for result? Why not just use result?
>
As the scope is by definition limited, I would opt for r [the smaller the
scope the shorter the variable names].
degski
-- *"Big boys don't cry" - **Eric Stewart, Graham Gouldman*