# fit::nullable\< T, true \>

## Summary

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a51b70f5ee1989d532a25c8e13673f656` | using `T` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1ac7b498e03aa735315e6cc8751776538e() const ` | `constexpr bool` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a7481498652946b5216fde1420984d6eb()` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a4820e67b3125ca67b71180c0b9c12d2b(decltype(nullptr))` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a3c66c501927129bcdbf3f29b79ccc4eb(T value)` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a4e56c5339770eb748538e7f661cff631(const https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable & other)=default` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a0bafb7f7e44bc286108cfa3a5c908552(https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable && other)` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1ac6b5160e190e6b55c7b02f2dfa71d72d() const ` | `constexpr` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a074c0fe0e3accfa5da02d49de4fe8a2d()` | `constexpr T &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a0ec7d694d99c9ceb0b24f63e1a94a500() const ` | `constexpr const T &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a75d640ab8f74650745d6fcebcde521a0()` | `constexpr T *` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1ad801f3cdf0f80a81d751da1b8fdc3c4a() const ` | `constexpr const T *` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a8cd87068fa3de7f13102cd94321082fe(const https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable & other)=default` | `constexpr https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a15809563ec5ff56feb3c91fe1c3be240(https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable && other)` | `constexpr https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a4ae67a3b39dc11f6103b6d887b22790b(decltype(nullptr))` | `constexpr https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a39bf07a07d66833ab433ce2ad11a4bbc(T value)` | `constexpr https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1ab59c703d727d3b05e6dd0e6e0d84c29e()` | `constexpr void` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1ae736813b3340db60a88615d3b582ce21(https://fuchsia.dev/reference/cpp/class/fit/nullable#classfit_1_1nullable & other)` | `constexpr void` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a1f061221953d167dde793cfbbe750e8f()&` | `constexpr T &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a5b52c35df4c9e53a5632d035df300578() const &` | `constexpr const T &` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a96f3a9d4acd7033d860b4acc3a4f6d40()&&` | `constexpr T &&` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a3a049fe8bc9797c2b1211686d0c4ba7e() const &&` | `constexpr const T &&` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1a4f1f9a1bfff3a5b8e44e30a7a7c02f26(U && default_value) const ` | `constexpr T` |
| `https://fuchsia.dev/reference/cpp/class/fit/nullable-t-true-#classfit_1_1nullable_3_01_t_00_01true_01_4_1aa2aa3f375a741980505929940fccec06()=default` | ` `` ` |

## Public types

### value_type

```c++
T value_type
```

## Public functions

### has_value

```c++
constexpr bool has_value() const 
```

### nullable

```c++
constexpr nullable()
```

### nullable

```c++
constexpr nullable(
  decltype(nullptr)
)
```

### nullable

```c++
constexpr nullable(
  T value
)
```

### nullable

```c++
constexpr nullable(
  const nullable & other
)=default
```

### nullable

```c++
constexpr nullable(
  nullable && other
)
```

### operator bool

```c++
constexpr operator bool() const 
```

### operator\*

```c++
constexpr T & operator*()
```

### operator\*

```c++
constexpr const T & operator*() const 
```

### operator-\>

```c++
constexpr T * operator->()
```

### operator-\>

```c++
constexpr const T * operator->() const 
```

### operator=

```c++
constexpr nullable & operator=(
  const nullable & other
)=default
```

### operator=

```c++
constexpr nullable & operator=(
  nullable && other
)
```

### operator=

```c++
constexpr nullable & operator=(
  decltype(nullptr)
)
```

### operator=

```c++
constexpr nullable & operator=(
  T value
)
```

### reset

```c++
constexpr void reset()
```

### swap

```c++
constexpr void swap(
  nullable & other
)
```

### value

```c++
constexpr T & value()&
```

### value

```c++
constexpr const T & value() const &
```

### value

```c++
constexpr T && value()&&
```

### value

```c++
constexpr const T && value() const &&
```

### value_or

```c++
constexpr T value_or(
  U && default_value
) const 
```

### \~nullable

```c++
 ~nullable()=default
```