SC_NCRESULT(3)
okay bestie, welcome to the MPQC manual page for sc::NCResult< T > β yes, that's the title, and we're gonna get into it π
β¨
πΈ NAME πΈ
sc::NCResult< T > β this is similar to Result, but it can be used with non-class types. That's the whole vibe: same-ish energy as Result, but it doesn't need a class type. π¦
β¨ SYNOPSIS β¨
Get your include on, bestie:
#include <comptmpl.h>
It inherits sc::ResultInfo β periodt. π
π Public Member Functions π
NCResult (Compute *c)β constructor that takes aCompute *c; that's literally the arg list, bestie.NCResult (const NCResult< T > &r, Compute *c)β constructor taking aconst NCResult< T > &rand aCompute *c.operator T& ()β conversion operator toT&.T & result ()β gives youT &, as advertised.T & result_noupdate ()β non-constresult_noupdate, returningT &.const T & result_noupdate () constβ const overload ofresult_noupdate, returningconst T &.void operator= (const T &a)β assignment operator fromconst T &a.void operator= (const NCResult< T > &r)β assignment operator fromconst NCResult< T > &r.
π«Ά Additional Inherited Members π«Ά
Under this heading the manpage is lowkey blank β no extra inherited members are listed here. The inherited bit is just sc::ResultInfo, already name-dropped above. π
π¦ Detailed Description π¦
template<class T>
class sc::NCResult< T >"
Okay so the detailed description does the classic template intro, then says this is similar to Result, but can be used with non-class types. Same facts, same energy. π
π Author π
Generated automatically by Doxygen for MPQC from the source code. Slay, Doxygen, I guess. π€β¨
xoxo from the MPQC source page β version 2.3.1, dated Sun Oct 4 2020, footer title sc::NCResult< T >(3). mwah ππ
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms