Flutter Engine
The Flutter Engine
third_party
skia
include
private
base
SkNoncopyable.h
Go to the documentation of this file.
1
/*
2
* Copyright 2006 The Android Open Source Project
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkNoncopyable_DEFINED
9
#define SkNoncopyable_DEFINED
10
11
#include "
include/private/base/SkAPI.h
"
12
13
/** \class SkNoncopyable (DEPRECATED)
14
15
SkNoncopyable is the base class for objects that do not want to
16
be copied. It hides its copy-constructor and its assignment-operator.
17
*/
18
class
SK_API
SkNoncopyable
{
19
public
:
20
SkNoncopyable
() =
default
;
21
22
SkNoncopyable
(
SkNoncopyable
&&) =
default
;
23
SkNoncopyable
& operator =(
SkNoncopyable
&&) =
default
;
24
25
private
:
26
SkNoncopyable
(
const
SkNoncopyable
&) =
delete
;
27
SkNoncopyable
& operator=(
const
SkNoncopyable
&) =
delete
;
28
};
29
30
#endif
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkNoncopyable
Definition:
SkNoncopyable.h:18
SkNoncopyable::SkNoncopyable
SkNoncopyable()=default
SkNoncopyable::SkNoncopyable
SkNoncopyable(SkNoncopyable &&)=default
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4