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/fstream.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_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.