This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cassert> | |
| #include <iostream> | |
| using namespace std; | |
| template <class T> | |
| void LL<T>::delete_after(iterator& position) { | |
| assert (position.link() -> next != NULL); | |
| node* tempptr = position.link(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.23; | |
| // based on https://github.com/OpenZeppelin/openzeppelin-solidity/tree/v1.10.0 | |
| /** | |
| * @title SafeMath | |
| * @dev Math operations with safety checks that throw on error | |
| */ | |
| library SafeMath { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.0; | |
| // SafeMath library | |
| contract SafeMath { | |
| function safeAdd(uint a, uint b) public pure returns (uint c) { | |
| c = a + b; | |
| require(c >= a); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$id": "http://catalog.works/schemas/2022022.json", | |
| "type": "object", | |
| "title": "catalog-20220222", | |
| "description": "This schema defined version 20220222 of the Catalog Metadata Schema", | |
| "required": [ | |
| "version", | |
| "title", | |
| "artist", | |
| "duration", |
OlderNewer