Flutter Engine
The Flutter Engine
Classes | Functions
SkTDArray.h File Reference
#include "include/private/base/SkAPI.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTo.h"
#include <algorithm>
#include <cstddef>
#include <initializer_list>

Go to the source code of this file.

Classes

class  SkTDStorage
 
class  SkTDArray< T >
 

Functions

static void swap (SkTDStorage &a, SkTDStorage &b)
 
template<typename T >
static void swap (SkTDArray< T > &a, SkTDArray< T > &b)
 

Function Documentation

◆ swap() [1/2]

template<typename T >
static void swap ( SkTDArray< T > &  a,
SkTDArray< T > &  b 
)
inlinestatic

Definition at line 233 of file SkTDArray.h.

233{ a.swap(b); }
static bool b
struct MyStruct a[10]

◆ swap() [2/2]

static void swap ( SkTDStorage a,
SkTDStorage b 
)
inlinestatic

Definition at line 98 of file SkTDArray.h.

98 {
99 a.swap(b);
100}