---
name: "sc_Result"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_Result"
---

# sc\_Result(3)

Result are members of Compute specializations that keep track of whether or not a particular result should be computed or if it has already been computed.

## NAME

sc::Result\< T \> - **Result** are members of **Compute** specializations that keep track of whether or not a particular result should be computed or if it has already been computed.

## SYNOPSIS

`#include <comptmpl.h>`

Inherits **sc::ResultInfo**.

### Public Member Functions

**Result** (**Compute** \*c)\
 **Result** (const **Result**\< T \> &r, **Compute** \*c)\
 **operator T&** ()\
 T \* **operator-\>** ()\
 T & **result** ()\
 T & **result\_noupdate** ()\
 const T & **result\_noupdate** () const\
 void **operator=** (const T &a)\
 void **operator=** (const **Result**\< T \> &r)\

### Additional Inherited Members

## Detailed Description

### template\<class T\>

class sc::Result\< T \>"**Result** are members of **Compute** specializations that keep track of whether or not a particular result should be computed or if it has already been computed.

For non-class template parameters, use **NCResult**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
