Ignore:
Timestamp:
Jan 29, 2025, 9:09:20 AM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
Children:
a22e8b4
Parents:
a950021 (diff), c699602 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/vector-demo.cfa

    ra950021 r49510db  
    9696      #endif
    9797
     98        // forbid calling a function that returns permit by value
     99      #ifdef TRY_RETURN_PERMIT_BYVAL_1
    98100        // can declare function that returns permit (wish to forbid)
    99101        vector_permit(float) g( vector( float ) & theVec ) {
     
    101103        }
    102104
    103         // forbid calling a function that returns permit by value
    104       #ifdef TRY_RETURN_PERMIT_BYVAL_1
    105105        vector_permit(float) ofG = g( v ); // Unique best alternative includes deleted identifier
    106106      #endif
    107        
     107
    108108        // allow declaration of permit, populating from exit
    109109        vector_exit(float) h( vector( float ) & theVec ) {
Note: See TracChangeset for help on using the changeset viewer.