apolukhin / Boost-Cookbook

Online examples from "Boost C++ Application Development Cookbook":
http://apolukhin.github.io/Boost-Cookbook/
Boost Software License 1.0
401 stars 108 forks source link

unknown type name _lock_policy - Ubuntu 18.04 #3

Closed sildeag closed 5 years ago

sildeag commented 5 years ago

to include file /usr/include/c++/7/backward/auto_ptr.h similar change is also required if g++-8 is used eg. /usr/include/c++/8/backward/auto_ptr.h

added line 35 #include <tr1/memory>