FastLED
3.9.15
Loading...
Searching...
No Matches
pair.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
fl
{
4
5
template
<
typename
Key,
typename
Value>
struct
Pair
{
6
Key
first
=
Key
();
7
Value
second
= Value();
8
Pair
() =
default
;
9
Pair
(
const
Key
&k,
const
Value &v) :
first
(k),
second
(v) {}
10
};
11
12
// std compatibility
13
template
<
typename
Key,
typename
Value>
using
pair
=
Pair<Key, Value>
;
14
15
}
// namespace fl
fl::pair
Pair< Key, Value > pair
Definition
pair.h:13
fl
Implements a simple red square effect for 2D LED grids.
Definition
crgb.h:16
Key
Definition
Keyboard.h:22
fl::Pair::Pair
Pair(const Key &k, const Value &v)
Definition
pair.h:9
fl::Pair< vec2f, uint8_t >::first
vec2f first
Definition
pair.h:6
fl::Pair::Pair
Pair()=default
fl::Pair< vec2f, uint8_t >::second
uint8_t second
Definition
pair.h:7
fl::Pair
Definition
pair.h:5
fl
pair.h
Generated on Thu May 29 2025 04:44:57 for FastLED by
1.13.2