mpd/src/util/ShallowCopy.hxx

13 lines
326 B
C++
Raw Normal View History

// SPDX-License-Identifier: BSD-2-Clause
// Copyright CM4all GmbH
// author: Max Kellermann <mk@cm4all.com>
2022-11-10 12:07:08 +01:00
2024-02-26 13:01:12 +01:00
#pragma once
2022-11-10 12:07:08 +01:00
/**
* A tag for overloading copying constructors, telling them to make
* shallow copies of source data (e.g. copy pointers instead of
* duplicating the referenced objects).
*/
struct ShallowCopy {};