Boost logo

Boost Users :

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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net