Changeset 49b3389


Ignore:
Timestamp:
Sep 5, 2021, 9:47:52 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
812ba3d
Parents:
18783b4
Message:

Follow-up, perventing recursion removal in C++.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/throw-empty.cpp

    r18783b4 r49b3389  
    11// Throw Across Empty Function
    22#include <chrono>
     3#include <cstdio>
    34#include <cstdlib>
    45#include <exception>
     
    1415        if (frames) {
    1516                unwind_empty(frames - 1);
     17                if (-1 == frames) printf("~");
    1618        } else {
    1719                throw (EmptyException){};
Note: See TracChangeset for help on using the changeset viewer.