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

# sc\_NCResult(3)

This is similar to Result, but can be used with non-class types.

## NAME

sc::NCResult\< T \> - This is similar to **Result**, but can be used with non-class types.

## SYNOPSIS

`#include <comptmpl.h>`

Inherits **sc::ResultInfo**.

### Public Member Functions

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

### Additional Inherited Members

## Detailed Description

### template\<class T\>

class sc::NCResult\< T \>"This is similar to **Result**, but can be used with non-class types.

## Author

Generated automatically by Doxygen for MPQC from the source code.
