mirror of
https://github.com/boostorg/local_function.git
synced 2026-02-02 08:52:14 +00:00
Updated docs.
[SVN r77943]
This commit is contained in:
@@ -13,12 +13,13 @@
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <cassert>
|
||||
|
||||
//[noncopyable_lambda_error
|
||||
//[noncopyable_cxx11_lambda_error
|
||||
struct n: boost::noncopyable {
|
||||
int i;
|
||||
n(int _i): i(_i) {}
|
||||
};
|
||||
|
||||
|
||||
int main(void) {
|
||||
n x(-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user