In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/memory:101:0,
from prog.cpp:1:
prog.cpp: In constructor 'std::shared_ptr<_Tp>::shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int]':
prog.cpp:25:55: instantiated from here
prog.cpp:9:5: error: 'Hoge<T>::Hoge(const Hoge<T>&) [with T = main()::<lambda(int*)>, Hoge<T> = Hoge<main()::<lambda(int*)> >]' is private
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: error: within this context
prog.cpp:25:55: instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: error: initializing argument 2 of 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:52:0,
from /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/memory:101,
from prog.cpp:1:
prog.cpp: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: instantiated from 'std::shared_ptr<_Tp>::shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int]'
prog.cpp:25:55: instantiated from here
prog.cpp:9:5: error: 'Hoge<T>::Hoge(const Hoge<T>&) [with T = main()::<lambda(int*)>, Hoge<T> = Hoge<main()::<lambda(int*)> >]' is private
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:554:37: error: within this context
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:554:37: error: initializing argument 2 of 'std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
prog.cpp: In constructor 'std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:554:37: instantiated from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: instantiated from 'std::shared_ptr<_Tp>::shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int]'
prog.cpp:25:55: instantiated from here
prog.cpp:9:5: error: 'Hoge<T>::Hoge(const Hoge<T>&) [with T = main()::<lambda(int*)>, Hoge<T> = Hoge<main()::<lambda(int*)> >]' is private
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:264:8: error: within this context
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:264:8: error: initializing argument 2 of 'std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_Sp_counted_deleter(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, _Alloc = std::allocator<int>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
prog.cpp: In constructor 'std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_Sp_counted_deleter(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, _Alloc = std::allocator<int>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:264:8: instantiated from 'std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:554:37: instantiated from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: instantiated from 'std::shared_ptr<_Tp>::shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int]'
prog.cpp:25:55: instantiated from here
prog.cpp:9:5: error: 'Hoge<T>::Hoge(const Hoge<T>&) [with T = main()::<lambda(int*)>, Hoge<T> = Hoge<main()::<lambda(int*)> >]' is private
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:134:46: error: within this context
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:134:46: error: initializing argument 1 of 'std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_My_Deleter::_My_Deleter(_Deleter, const _Alloc&) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, _Alloc = std::allocator<int>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
prog.cpp: In constructor 'std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_My_Deleter::_My_Deleter(_Deleter, const _Alloc&) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, _Alloc = std::allocator<int>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:134:46: instantiated from 'std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_Sp_counted_deleter(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, _Alloc = std::allocator<int>, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:264:8: instantiated from 'std::__shared_count<_Lp>::__shared_count(_Ptr, _Deleter) [with _Ptr = int*, _Deleter = Hoge<main()::<lambda(int*)> >, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:554:37: instantiated from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int, __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr.h:123:66: instantiated from 'std::shared_ptr<_Tp>::shared_ptr(_Tp1*, _Deleter) [with _Tp1 = int, _Deleter = Hoge<main()::<lambda(int*)> >, _Tp = int]'
prog.cpp:25:55: instantiated from here
prog.cpp:9:5: error: 'Hoge<T>::Hoge(const Hoge<T>&) [with T = main()::<lambda(int*)>, Hoge<T> = Hoge<main()::<lambda(int*)> >]' is private
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/shared_ptr_base.h:125:37: error: within this context