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/fstream.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_FSTREAM
    3131
     32#include <cassert>
    3233#include <cstdio>
    3334#include <ios>
     
    267268            {
    268269                // TODO: implement
     270                __unimplemented();
    269271                return nullptr;
    270272            }
     
    274276            {
    275277                // TODO: implement
     278                __unimplemented();
    276279                return pos_type{};
    277280            }
     
    281284            {
    282285                // TODO: implement
     286                __unimplemented();
    283287                return pos_type{};
    284288            }
Note: See TracChangeset for help on using the changeset viewer.