"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/common/writeoncemap.hpp" between
heif-3.6.1.tar.gz and heif-3.6.2.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

writeoncemap.hpp  (heif-3.6.1):writeoncemap.hpp  (heif-3.6.2)
/* This file is part of Nokia HEIF library /* This file is part of Nokia HEIF library
* *
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved. * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved.
* *
* Contact: heif@nokia.com * Contact: heif@nokia.com
* *
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are reserved. * subsidiaries. All rights are reserved.
* *
* Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior * Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior
* written consent of Nokia. * written consent of Nokia.
*/ */
skipping to change at line 63 skipping to change at line 63
/** Moves a map. No map is explicitly validated at this point. */ /** Moves a map. No map is explicitly validated at this point. */
WriteOnceMap(WriteOnceMap<Key, Value>&& other); WriteOnceMap(WriteOnceMap<Key, Value>&& other);
~WriteOnceMap(); ~WriteOnceMap();
/** Copies a map. The _source_ map is validated first to reduce /** Copies a map. The _source_ map is validated first to reduce
* the overhead of copying the map multiple times. */ * the overhead of copying the map multiple times. */
WriteOnceMap<Key, Value>& operator=(const WriteOnceMap<Key, Value>& other); WriteOnceMap<Key, Value>& operator=(const WriteOnceMap<Key, Value>& other);
WriteOnceMap<Key, Value>& operator=(WriteOnceMap<Key, Value>&& other); WriteOnceMap<Key, Value>& operator=(WriteOnceMap<Key, Value>&& other);
/** Implements the equal_range operatation familiar from Map */ /** Implements the equal_range operation familiar from Map */
std::pair<iterator, iterator> equal_range(const Key& key); std::pair<iterator, iterator> equal_range(const Key& key);
std::pair<const_iterator, const_iterator> equal_range(const Key& key) const; std::pair<const_iterator, const_iterator> equal_range(const Key& key) const;
iterator find(const Key& key); iterator find(const Key& key);
const_iterator find(const Key& key) const; const_iterator find(const Key& key) const;
Value& at(const Key& key); Value& at(const Key& key);
const Value& at(const Key& key) const; const Value& at(const Key& key) const;
size_t count(const Key& key) const; size_t count(const Key& key) const;
/** Adds a new element. Causes the container to be re-sorted on /** Adds a new element. Causes the container to be re-sorted on
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)