#include "flow/util/blob_fwd.hpp"
#include "flow/log/log.hpp"
#include <boost/interprocess/smart_ptr/shared_ptr.hpp>
#include <boost/move/make_unique.hpp>
#include <optional>
#include <limits>
Go to the source code of this file.
|
namespace | flow |
| Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
|
|
namespace | flow::util |
| Flow module containing miscellaneous general-use facilities that don't fit into any other Flow module.
|
|
|
template<typename Allocator , bool S_SHARING_ALLOWED> |
void | flow::util::swap (Basic_blob< Allocator, S_SHARING_ALLOWED > &blob1, Basic_blob< Allocator, S_SHARING_ALLOWED > &blob2, log::Logger *logger_ptr=0) |
| Equivalent to blob1.swap(blob2) . More...
|
|
template<typename Allocator , bool S_SHARING_ALLOWED> |
bool | flow::util::blobs_sharing (const Basic_blob< Allocator, S_SHARING_ALLOWED > &blob1, const Basic_blob< Allocator, S_SHARING_ALLOWED > &blob2) |
| Returns true if and only if both given objects are not zero() == true , and they either co-own a common underlying buffer, or are the same object. More...
|
|