Просмотр исходного кода

Have config/select_stdlib_config.hpp and config/stdlib/stlport.hpp use <cstddef> instead of <utility> to determine which standard library is in use. For std lib implementations that rely on Boost components like TypeTraits, Bind, Function, or SmartPtr, this helps to avoid circular header dependency issues, since <cstddef> is much less likely to pull in Boost libraries than <utility>.

In get_pointer.hpp, switched to using <boost/config/no_tr1/memory.hpp> instead of using <memory> directly.  As above, this helps avoid circular header dependency issues in Boost-supplemented std libs (specifically it avoids issues when <memory> pulls in pieces of Boost.SmartPtr).

These two changes were made in response to testing done with STLport 5.2.1 using the _STLP_USE_BOOST_SUPPORT option.

[SVN r52221]
David Deakins 17 лет назад
Родитель
Сommit
02456ce85d
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      libs/config
  2. 1 1
      libs/smart_ptr

+ 1 - 1
libs/config

@@ -1 +1 @@
-Subproject commit 115746bcedbde494adc2540ca1e26b4aaea7812a
+Subproject commit 8854d5e66ef824edac1e6da24abcdbbc7ad129e4

+ 1 - 1
libs/smart_ptr

@@ -1 +1 @@
-Subproject commit a1b4fc8d95eebb62a20eb3b2436fafd5190ef576
+Subproject commit 28de0cb1e3981756a8383b8352ec34c8ea1714ea

粤ICP备19079148号