Ignore:
Timestamp:
2019-01-12T15:09:49Z (5 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc73be3
Parents:
fec7ba0
Message:

cpp: abort and report when an unimplemented function is called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/complex.hpp

    rfec7ba0 rad40b74b  
    11/*
    2  * Copyright (c) 2018 Jaroslav Jindrak
     2 * Copyright (c) 2019 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    3030#define LIBCPP_BITS_COMPLEX
    3131
     32#include <cassert>
    3233#include <iosfwd>
    3334#include <sstream>
     
    724725    {
    725726        // TODO: implement
     727        __unimplemented();
     728        return is;
    726729    }
    727730
     
    766769    {
    767770        // TODO: implement
     771        __unimplemented();
    768772        return c;
    769773    }
     
    779783    {
    780784        // TODO: implement
     785        __unimplemented();
    781786        return c;
    782787    }
     
    786791    {
    787792        // TODO: implement
     793        __unimplemented();
    788794        return c;
    789795    }
     
    793799    {
    794800        // TODO: implement
     801        __unimplemented();
    795802        return complex<T>{};
    796803    }
     
    804811    {
    805812        // TODO: implement
     813        __unimplemented();
    806814        return c;
    807815    }
     
    811819    {
    812820        // TODO: implement
     821        __unimplemented();
    813822        return c;
    814823    }
     
    818827    {
    819828        // TODO: implement
     829        __unimplemented();
    820830        return c;
    821831    }
     
    825835    {
    826836        // TODO: implement
     837        __unimplemented();
    827838        return c;
    828839    }
     
    832843    {
    833844        // TODO: implement
     845        __unimplemented();
    834846        return c;
    835847    }
     
    839851    {
    840852        // TODO: implement
     853        __unimplemented();
    841854        return c;
    842855    }
     
    846859    {
    847860        // TODO: implement
     861        __unimplemented();
    848862        return c;
    849863    }
     
    853867    {
    854868        // TODO: implement
     869        __unimplemented();
    855870        return c;
    856871    }
     
    860875    {
    861876        // TODO: implement
     877        __unimplemented();
    862878        return c;
    863879    }
     
    867883    {
    868884        // TODO: implement
     885        __unimplemented();
    869886        return c;
    870887    }
     
    874891    {
    875892        // TODO: implement
     893        __unimplemented();
    876894        return c;
    877895    }
     
    881899    {
    882900        // TODO: implement
     901        __unimplemented();
    883902        return base;
    884903    }
     
    888907    {
    889908        // TODO: implement
     909        __unimplemented();
    890910        return base;
    891911    }
     
    895915    {
    896916        // TODO: implement
     917        __unimplemented();
    897918        return complex<T>{base};
    898919    }
     
    902923    {
    903924        // TODO: implement
     925        __unimplemented();
    904926        return c;
    905927    }
     
    909931    {
    910932        // TODO: implement
     933        __unimplemented();
    911934        return c;
    912935    }
     
    916939    {
    917940        // TODO: implement
     941        __unimplemented();
    918942        return c;
    919943    }
     
    923947    {
    924948        // TODO: implement
     949        __unimplemented();
    925950        return c;
    926951    }
     
    930955    {
    931956        // TODO: implement
     957        __unimplemented();
    932958        return c;
    933959    }
Note: See TracChangeset for help on using the changeset viewer.