Changeset a010d6 in git


Ignore:
Timestamp:
Sep 2, 2012, 5:13:11 PM (10 years ago)
Author:
Alexander Dreyer <alexander.dreyer@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
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
Location:
Singular
Files:
1 added
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.