$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Closures emulation made easy
From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2008-09-05 11:38:08
Steven Watanabe wrote in message
news:48C1500E.4060500_at_providere-consulting.com...
> What is the advantage over defining a function
> at namespace scope?
1. Have it close to the resource acquisition, not 50 lines away.
2. Encapsulation, exactly not having any extra stuff in a namespace.