SC_NCRESULT(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

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 a Compute *c; that's literally the arg list, bestie.
  • NCResult (const NCResult< T > &r, Compute *c) β€” constructor taking a const NCResult< T > &r and a Compute *c.
  • operator T& () β€” conversion operator to T&.
  • T & result () β€” gives you T &, as advertised.
  • T & result_noupdate () β€” non-const result_noupdate, returning T &.
  • const T & result_noupdate () const β€” const overload of result_noupdate, returning const T &.
  • void operator= (const T &a) β€” assignment operator from const T &a.
  • void operator= (const NCResult< T > &r) β€” assignment operator from const 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