# fidl::WireOptional

## Summary

| ### Constructors and Destructors ||
|---|---|
| `WireOptional()` ||
| `WireOptional(const WireOptional & other)` ||
| `WireOptional(WireOptional && other)` ||
| `WireOptional(const T & t)` ||
| `WireOptional(T && t)` ||
| `~WireOptional()` ||

| ### Public functions ||
|---|---|
| `has_value() const ` | `bool` |
| `operator*()` | `T &` |
| `operator*() const ` | `const T &` |
| `operator->()` | `T *` |
| `operator->() const ` | `const T *` |
| `operator=(const WireOptional & other)=default` | `WireOptional &` |
| `operator=(WireOptional && other) noexcept=default` | `WireOptional &` |
| `operator=(const T & other)` | `WireOptional &` |
| `operator=(T && other) noexcept` | `WireOptional &` |
| `value()` | `T &` |
| `value() const ` | `const T &` |

## Public functions

### WireOptional

```c++
 fidl::WireOptional::WireOptional()
```

### WireOptional

```c++
 fidl::WireOptional::WireOptional(
  const WireOptional & other
)=default
```

### WireOptional

```c++
 fidl::WireOptional::WireOptional(
  WireOptional && other
) noexcept=default
```

### WireOptional

```c++
 fidl::WireOptional::WireOptional(
  const T & t
)
```

### WireOptional

```c++
 fidl::WireOptional::WireOptional(
  T && t
) noexcept
```

### has_value

```c++
bool fidl::WireOptional::has_value() const 
```

### operator\*

```c++
T & fidl::WireOptional::operator*()
```

### operator\*

```c++
const T & fidl::WireOptional::operator*() const 
```

### operator-\>

```c++
T * fidl::WireOptional::operator->()
```

### operator-\>

```c++
const T * fidl::WireOptional::operator->() const 
```

### operator=

```c++
WireOptional & fidl::WireOptional::operator=(
  const WireOptional & other
)=default
```

### operator=

```c++
WireOptional & fidl::WireOptional::operator=(
  WireOptional && other
) noexcept=default
```

### operator=

```c++
WireOptional & fidl::WireOptional::operator=(
  const T & other
)
```

### operator=

```c++
WireOptional & fidl::WireOptional::operator=(
  T && other
) noexcept
```

### value

```c++
T & fidl::WireOptional::value()
```

### value

```c++
const T & fidl::WireOptional::value() const 
```

### \~WireOptional

```c++
 fidl::WireOptional::~WireOptional()=default
```