Changeset ad40b74b in mainline for uspace/lib/cpp/src/string.cpp


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/src/string.cpp

    rfec7ba0 rad40b74b  
    11/*
    2  * Copyright (c) 2018 Jaroslav Jindrak
     2 * Copyright (c) 2019 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
     29#include <cassert>
    2930#include <string>
    3031
     
    3435    {
    3536        // TODO: implement using stol once we have numeric limits
     37        __unimplemented();
    3638        return 0;
    3739    }
     
    7274    {
    7375        // TODO: implement using stol once we have numeric limits
     76        __unimplemented();
    7477        return 0;
    7578    }
     
    7881    {
    7982        // TODO: implement using stoul once we have numeric limits
     83        __unimplemented();
    8084        return 0;
    8185    }
     
    8488    {
    8589        // TODO: implement
     90        __unimplemented();
    8691        return 0.f;
    8792    }
     
    9095    {
    9196        // TODO: implement
     97        __unimplemented();
    9298        return 0.0;
    9399    }
     
    96102    {
    97103        // TODO: implement
     104        __unimplemented();
    98105        return 0.0l;
    99106    }
     
    206213    {
    207214        // TODO: implement
     215        __unimplemented();
    208216        return 0;
    209217    }
     
    212220    {
    213221        // TODO: implement
     222        __unimplemented();
    214223        return 0;
    215224    }
     
    218227    {
    219228        // TODO: implement
     229        __unimplemented();
    220230        return 0;
    221231    }
     
    224234    {
    225235        // TODO: implement
     236        __unimplemented();
    226237        return 0;
    227238    }
     
    230241    {
    231242        // TODO: implement
     243        __unimplemented();
    232244        return 0;
    233245    }
     
    236248    {
    237249        // TODO: implement
     250        __unimplemented();
    238251        return 0.f;
    239252    }
     
    242255    {
    243256        // TODO: implement
     257        __unimplemented();
    244258        return 0.0;
    245259    }
     
    248262    {
    249263        // TODO: implement
     264        __unimplemented();
    250265        return 0.0l;
    251266    }
     
    254269    {
    255270        // TODO: implement
     271        __unimplemented();
    256272        return wstring{};
    257273    }
     
    260276    {
    261277        // TODO: implement
     278        __unimplemented();
    262279        return wstring{};
    263280    }
     
    266283    {
    267284        // TODO: implement
     285        __unimplemented();
    268286        return wstring{};
    269287    }
     
    272290    {
    273291        // TODO: implement
     292        __unimplemented();
    274293        return wstring{};
    275294    }
     
    278297    {
    279298        // TODO: implement
     299        __unimplemented();
    280300        return wstring{};
    281301    }
     
    284304    {
    285305        // TODO: implement
     306        __unimplemented();
    286307        return wstring{};
    287308    }
     
    290311    {
    291312        // TODO: implement
     313        __unimplemented();
    292314        return wstring{};
    293315    }
     
    296318    {
    297319        // TODO: implement
     320        __unimplemented();
    298321        return wstring{};
    299322    }
     
    302325    {
    303326        // TODO: implement
     327        __unimplemented();
    304328        return wstring{};
    305329    }
Note: See TracChangeset for help on using the changeset viewer.