# fpromise::ok_result

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/fpromise/ok-result#structfpromise_1_1ok__result_1ad7a8224e33f5d77f3de87f1f14587247(V value)` ||

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/fpromise/ok-result#structfpromise_1_1ok__result_1a8f0f2d15d1043017557661d3ca2f61b2` | using `V` |

| ### Public attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/fpromise/ok-result#structfpromise_1_1ok__result_1a954fde658165cc6255e4c26108836c78` | `V` |

## Public types

### value_type

```c++
V fpromise::ok_result::value_type
```

## Public attributes

### value

```c++
V fpromise::ok_result::value
```

## Public functions

### ok_result

```c++
constexpr fpromise::ok_result::ok_result(
  V value
)
```