mirror of
https://github.com/taglib/taglib.git
synced 2025-11-16 22:52:57 -05:00
Detect C++11 features automatically
This commit is contained in:
@ -129,7 +129,7 @@ ASF::Attribute &ASF::Attribute::operator=(const ASF::Attribute &other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
ASF::Attribute &ASF::Attribute::operator=(ASF::Attribute &&other)
|
||||
{
|
||||
|
||||
@ -115,12 +115,12 @@ namespace TagLib
|
||||
*/
|
||||
ASF::Attribute &operator=(const Attribute &other);
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
/*!
|
||||
* Moves the contents of \a other into this item.
|
||||
*
|
||||
* \note Not available unless TAGLIB_USE_CXX11 macro is defined.
|
||||
* \note Not available unless SUPPORT_MOVE_SEMANTICS macro is defined.
|
||||
*/
|
||||
ASF::Attribute &operator=(Attribute &&other);
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ ASF::Picture::Picture(const Picture& other)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
ASF::Picture::Picture(Picture &&other)
|
||||
: d(std::move(other.d))
|
||||
@ -131,7 +131,7 @@ ASF::Picture& ASF::Picture::operator=(const ASF::Picture& other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
ASF::Picture& ASF::Picture::operator=(ASF::Picture &&other)
|
||||
{
|
||||
|
||||
@ -107,12 +107,12 @@ namespace TagLib
|
||||
*/
|
||||
Picture(const Picture& other);
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
/*!
|
||||
* Constructs an picture equivalent to \a other.
|
||||
*
|
||||
* \note Not available unless TAGLIB_USE_CXX11 macro is defined.
|
||||
* \note Not available unless SUPPORT_MOVE_SEMANTICS macro is defined.
|
||||
*/
|
||||
Picture(Picture &&other);
|
||||
|
||||
@ -128,12 +128,12 @@ namespace TagLib
|
||||
*/
|
||||
Picture& operator=(const Picture& other);
|
||||
|
||||
#ifdef TAGLIB_USE_CXX11
|
||||
#ifdef SUPPORT_MOVE_SEMANTICS
|
||||
|
||||
/*!
|
||||
* Moves the contents of \a other into this picture.
|
||||
*
|
||||
* \note Not available unless TAGLIB_USE_CXX11 macro is defined.
|
||||
* \note Not available unless SUPPORT_MOVE_SEMANTICS macro is defined.
|
||||
*/
|
||||
Picture& operator=(Picture &&other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user