Last active
December 28, 2015 20:48
-
-
Save distributedlife/7559563 to your computer and use it in GitHub Desktop.
distributedlife.com blog post snippets
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
| -The test team branch | |
| |-The Name of the System | |
| | |-quick-test |
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
| float reciprocal (const float ex) { | |
| return (1.0f / ex); | |
| } |
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
| void push(const value_type& _Val) | |
| { | |
| // insert element at beginning | |
| c.push_back(_Val); | |
| } | |
| void pop() | |
| { | |
| // erase element at end | |
| c.pop_front(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment