Changeset a010d6 in git for Singular/countedref.cc


Ignore:
Timestamp:
Sep 2, 2012, 5:13:11 PM (12 years ago)
Author:
Alexander Dreyer <alexander.dreyer@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
e318c0df53d14d067ee1ee383417566c2e226e9b
Parents:
d919cdb0ce12fcfcaaeebf0f6f31de8ca803c3ba
git-author:
Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-09-02 17:13:11+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-05 15:52:17+02:00
Message:
chg move reusable stuff to countedref.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/countedref.cc

    rd919cd ra010d6  
    44 *
    55 * @author Alexander Dreyer
    6  * @date 2010-12-15
     6 * @date 2012-08-15
    77 *
    8  * This file defines the @c blackbox operations for the countedref type.
     8 * This file defines reference countes interpreter objects and adds the
     9 * @c blackbox operations for high-level types 'reference' and 'shared'.
    910 *
     11 * @note This works was supported by the "Industrial Algebra" project.
     12 *
    1013 * @par Copyright:
    11  *   (c) 2010 by The Singular Team, see LICENSE file
     14 *   (c) 2012 by The Singular Team, see LICENSE file
    1215**/
    1316//*****************************************************************************
    14 
    1517
    1618
     
    3133#include "attrib.h"
    3234
     35#include "countedref.h"
     36
     37#if 0
    3338/** @class CountedRefPtr
    3439 * This class implements a smart pointer which handles pointer-style access
     
    137142  count_type ref;  // naming consistent with other classes
    138143};
    139 
     144#endif
    140145class CountedRefEnv {
    141146  typedef CountedRefEnv self;
     
    180185};
    181186
     187#if 0
    182188/// Overloading ring destruction
    183189inline void CountedRefPtr_kill(ring r) { rKill(r); }
    184 
    185190class LeftvHelper {
    186191public:
     
    338343  leftv m_data;
    339344};
    340 
     345#endif
    341346/** @class CountedRefData
    342347 * This class stores a reference counter as well as a Singular interpreter object.
Note: See TracChangeset for help on using the changeset viewer.