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/string/string.hpp

    rcf9e949 r7dcce0a  
    11/*
    2  * Copyright (c) 2018 Jaroslav Jindrak
     2 * Copyright (c) 2019 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    3232#include <__bits/string/stringfwd.hpp>
    3333#include <algorithm>
     34#include <cassert>
    3435#include <initializer_list>
    3536#include <iosfwd>
     
    178179        {
    179180            // TODO: implement
     181            __unimplemented();
    180182            return 0;
    181183        }
     
    184186        {
    185187            // TODO: implement
     188            __unimplemented();
    186189            return 0;
    187190        }
     
    190193        {
    191194            // TODO: implement
     195            __unimplemented();
    192196            return nullptr;
    193197        }
     
    196200        {
    197201            // TODO: implement
     202            __unimplemented();
    198203            return nullptr;
    199204        }
     
    202207        {
    203208            // TODO: implement
     209            __unimplemented();
    204210            return nullptr;
    205211        }
     
    208214        {
    209215            // TODO: implement
     216            __unimplemented();
    210217            return nullptr;
    211218        }
     
    266273        {
    267274            // TODO: implement
     275            __unimplemented();
    268276            return 0;
    269277        }
     
    272280        {
    273281            // TODO: implement
     282            __unimplemented();
    274283            return 0;
    275284        }
     
    278287        {
    279288            // TODO: implement
     289            __unimplemented();
    280290            return nullptr;
    281291        }
     
    284294        {
    285295            // TODO: implement
     296            __unimplemented();
    286297            return nullptr;
    287298        }
     
    290301        {
    291302            // TODO: implement
     303            __unimplemented();
    292304            return nullptr;
    293305        }
     
    296308        {
    297309            // TODO: implement
     310            __unimplemented();
    298311            return nullptr;
    299312        }
     
    353366        {
    354367            // TODO: This function does not exits...
     368            __unimplemented();
    355369            //return hel::wstr_lcmp(s1, s2, n);
    356370            return 0;
     
    19391953        {
    19401954            // TODO: implement
     1955            __unimplemented();
    19411956            return size_t{};
    19421957        }
Note: See TracChangeset for help on using the changeset viewer.