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/io/istream.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_IO_ISTREAM
    3131
     32#include <cassert>
    3233#include <ios>
    3334#include <iosfwd>
     
    339340            {
    340341                // TODO: implement
     342                __unimplemented();
     343                return *this;
    341344            }
    342345
     
    344347            {
    345348                // TODO: implement
     349                __unimplemented();
     350                return *this;
    346351            }
    347352
     
    349354            {
    350355                // TODO: implement
     356                __unimplemented();
     357                return *this;
    351358            }
    352359
     
    354361            {
    355362                // TODO: implement
     363                __unimplemented();
     364                return *this;
    356365            }
    357366
Note: See TracChangeset for help on using the changeset viewer.