Ignore:
Timestamp:
2019-01-16T18:07:45Z (5 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4248ce5
Parents:
cf9e949
git-author:
Jaroslav Jindrak <dzejrou@…> (2019-01-12 15:09:49)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2019-01-16 18:07:45)
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

    rcf9e949 r7dcce0a  
    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.