Subject: Re: [boost] Why do many examples lack #includes and namespaces?
From: Erik Erlandson (eje_at_[hidden])
Date: 2013-12-14 15:32:04
----- Original Message -----
> I mean, it doesn't hurt that much to put the minimum needed #includes and
> namespace aliases in every snippet. This will not only help beginners, but
> anyone who wants to copy-paste-modify an example. Could this be made a
> guidline for Boost docs in general?
Speaking as somebody who has been hitting the boost docs hard in the last few months, #includes and namespaces with every snippet is *exactly* what I wished there were more of. I spent a fair amount of time guessing, or finding other examples on stackoverflow, etc.