Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy constructors and destructors #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 25, 2017

  1. [wip] Copy constructors and destructors.

     * Move the "linearize" pass immediately after "scope", so it's done
       purely syntactically.
    
     * Add "copy" and "destroy" traits and provide default (no-op) instances
       for built-in types.
    
    TODO:
    
     * Add tests
    
     * Derive these traits implicitly or more concisely (CTE?), correctly
       calling them for fields of ADTs
    
     * Requires generic trait instances to work for generic types
    
     * Requires trait constraints
    evincarofautumn committed Feb 25, 2017
    Configuration menu
    Copy the full SHA
    41923fb View commit details
    Browse the repository at this point in the history