boost:: is_regular vs. is_regular_file
-
Warum gibt es beides???
-
is_regular ist in V3 veraltet und besteht nur noch aus Kompatibilitätsgründen. Es wird in der Dokumentation nicht mehr genannt, und in boost/filesystem/v3/operations.hpp kann man Folgendes lesen:
# ifndef BOOST_FILESYSTEM_NO_DEPRECATED inline bool is_regular(file_status f) { return f.type() == regular_file; } # endif
-
Und warum gab es dann nicht gleich is_regular_file ?
-
danke soweit