Changeset c699602 for tests/collections/vector-demo.cfa
- Timestamp:
- Jan 28, 2025, 10:11:24 PM (3 months ago)
- Branches:
- master
- Children:
- 49510db
- Parents:
- 2e0bb92 (diff), bada452 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/collections/vector-demo.cfa ¶
r2e0bb92 rc699602 96 96 #endif 97 97 98 // forbid calling a function that returns permit by value 99 #ifdef TRY_RETURN_PERMIT_BYVAL_1 98 100 // can declare function that returns permit (wish to forbid) 99 101 vector_permit(float) g( vector( float ) & theVec ) { … … 101 103 } 102 104 103 // forbid calling a function that returns permit by value104 #ifdef TRY_RETURN_PERMIT_BYVAL_1105 105 vector_permit(float) ofG = g( v ); // Unique best alternative includes deleted identifier 106 106 #endif 107 107 108 108 // allow declaration of permit, populating from exit 109 109 vector_exit(float) h( vector( float ) & theVec ) {
Note: See TracChangeset
for help on using the changeset viewer.