Changes in src/AST/Node.hpp [3f681b1:2377ca2]
- File:
-
- 1 edited
-
src/AST/Node.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Node.hpp
r3f681b1 r2377ca2 10 10 // Created On : Wed May 8 10:27:04 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Mon May 9 10:20:00 202213 // Update Count : 812 // Last Modified On : Fri Mar 25 10:33:00 2022 13 // Update Count : 7 14 14 // 15 15 … … 49 49 50 50 bool unique() const { return strong_count == 1; } 51 bool isManaged() const { return strong_count > 0; } 52 bool isReferenced() const { return weak_count > 0; } 53 bool isStable() const { 54 return (1 == strong_count || (1 < strong_count && 0 == weak_count)); 55 } 51 bool isManaged() const {return strong_count > 0; } 56 52 57 53 private:
Note:
See TracChangeset
for help on using the changeset viewer.