diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-22 01:29:05 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-22 01:29:05 -0800 |
commit | fb49fd2df1d4c40839e7595fd0c371c63ec28606 (patch) | |
tree | ce46d58e357a7cb6629378b7c237f6ec8fb3c6d7 /002test.cc | |
parent | 7a23ce3d56e9216a75e93906cccfc297c9e46e09 (diff) | |
download | mu-fb49fd2df1d4c40839e7595fd0c371c63ec28606.tar.gz |
2470 - allow overloading primitive operations
This turned out to be surprisingly easy: rather than try to specify the types expected by each operation, just have primitive instructions go through any other variants and only remain unnamed if no variants pass. All I had to do was stop using contains_key() anywhere on Recipe_variants, so that I could use get_or_insert() rather than get().
Diffstat (limited to '002test.cc')
0 files changed, 0 insertions, 0 deletions