logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::ForceLink< T, A > - This, together with ForceLinkBase, is used to force code for particular classes

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                         sc::ForceLink<T,A>(3)

Detailed Description

template<classT,classA=constRef<KeyVal>&>
       class sc::ForceLink< T, A >" This, together with ForceLinkBase, is used to force code for particular
       classes to be linked into executables.

       Objects are created from input and checkpoint files by using class name lookup to find that class's
       ClassDesc object. The ClassDesc object has members that can create the class. Unfortunately, linking in a
       library doesn't cause code for the the ClassDesc, and thus the class itself, to be linked. ForceLink
       objects are created in linkage.h files for each library. The code containing the main routine for an
       executable can include these linkage files to force code for that library's classes to be linked.

Name

       sc::ForceLink< T, A > - This, together with ForceLinkBase, is used to force code for particular classes
       to be linked into executables.

Synopsis

       #include <class.h>

       Inherits sc::ForceLinkBase<constRef<KeyVal>&>.

   PublicMemberFunctionsDescribedClass * create (A a)

See Also