Specialized in std::set

Hello!
I am facing problem while using std::set with template classes. Here's the error message I get:
"testTemplate.h", line 11: Error: ")" expected instead of "0x00000080".
"/opt/SUNWspro/prod/include/CC/Cstd/rw/tree", line 253: Where: While specializing "p2_less<int>"
"/opt/SUNWspro/prod/include/CC/Cstd/rw/tree", line 253: Where: Specialized in __rwstd::__rb_tree
<int, int, __rwstd::__ident><int, int>, p2_less<int>, std::allocator<int>>.
"/opt/SUNWspro/prod/include/CC/Cstd/./set", line 101: Where: Specialized in std::set<int, p2_les
s><int>, std::allocator<int>>.
"main.cc", line 14: Where: Specialized in non-template code.
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `Sun-x86-Solaris/main.o'
arunk@sunisv-testbox:~/redfox/redfox/test >
The listing of testTemplate.h file is as below:
// File: testTemplate.h
#ifndef abcH
#define abcH
template < class _Ty >
class p2_less {
public:
bool operator()(const Ty& X, const Ty& Y ) const {
return 0;
#endif /* abcH */
and main program listing is:
// File: main.cc
#include <stdlib.h>
#include <set>
#include "testTemplate.h"
int
main(int argc, char** argv) {
std::set<int, p2_less><int> > m_p2;
return (EXIT_SUCCESS);
Please help!

Try posting this error to C++ forum, I don't think you're going to get much help here.
http://forum.sun.com/jive/forum.jspa?forumID=305

Similar Messages

  • Special Stock indicator Setting in SD

    Hi all,
    I had created the normal delivery Sales Order. But when i'm trying to make delivery against the Sales Order. It gaves me error, Coz some how the Delivery item have Special Stock indicator set to 'E'.
    from where i can remove this setting.
    Pls note I had Checked the SO Item Category, Schedule line, Account assignment cateogry and the Delivery item Category, but couldnt trace out this Setting.
    If any one knew about it, then let me know.
    Regards,
    S Anand.

    Dear Sheo singh
    Special stock indicator is set only in Item category with regard to SD that is in VOV7
    You can also check in the requirement class details in OVZG
    For this you need to find out what is requirement type maintained in your sales order in VA02 procuremet tab
    In OVZH you need to see what is the requirement class assigned to your  requirement type
    In OVZG for your requirement class details you can see whether any special stock indicator is maintained
    But here also the value flows from what is maintained in VOV7
    Hope this information helps you
    Regards
    Raja

  • ListVal Event in Special Validation Value Set

    Hi all,
    Has anyone used ListVal event in Special Validation value set? I want to show list of values by giving a query using special validation.
    Thanking You

    Use Validation Type 'Table'
    Press 'Edit Information' button
    Select the Table name and Column that you want to show in your list, you can restrict the list using the Where section.
    Cheers!

  • Special stock inicator set automatically in production order

    Hi there,
    could anyone pls let me know, how to set the special stock indicator 2 to a component line, is the prod. order already assigned to project.
    I have a material master for component: lot size: EX, Bom explosion: empty (indiv and coll), when I create a prod. order and assign it to WBS, always have to set manually the special stock indicatot component by component.
    I d like this "2" automatically assign, if prod order is assigned to WBS.
    How
    ould it be done?
    Br
    Lovagszent
    Edited by: Maria Györgyi Kovacs on Nov 23, 2010 12:24 PM

    Dear
    Just to make you understand , Lets take the following example
    Assembly is X which is for any Project WBS.
    X is assigned in the network and X is having ind/coll requirement as 1 in MRP4
    the BOM of material X has X1/X2/X3 as child materials.
    X1 is having blank in the ind/coll requirement in MRP4
    X2 is having value 1 in the ind/coll requirement in MRP4
    X3 is having value 2 in the ind/coll requirement in MRP4.
    In this situation following is the result
    X1 and X2 will get Special stock indicator as 2 where as X3 will have blank in Special stock indicator field.
    Test with simple example and check in Production Order Compoenent Oveview also whether Special Stock Filed is getting updated with 2 or not .
    Hope you understood the concept
    Regards
    JH
    Edited by: Jiaul Haque on Nov 23, 2010 1:14 PM

  • Uploading a specialized PDF print setting

    A computer in our office was recently upgraded to Windows 7.  The computer has Adobe Arobat 9.0 standard.  In the previous un-upgraded computer in Acrobat a specialized print setting file had been uploaded and saved in the Adobe PDF/settings folder which allowed a specialized print setting option to be inlcuded in the print drop down menu.  (It was created as a file, so that numerous people could copy it to their computers without having to know and create all the print settings at each individiual computer in the office.).
    However, saving the specialized print setting file in the same (supposedly) Adobe PDF/settings folder, did not have the same effect.  We have tried saving the specialized print setting file to the the Adobe PDF/ folder and no luck.
    Does anyone use specialized print settings, and know how we can get the file containing the specialized print setting to be recognized.

    You have to open Distiller and register the new job settings file there. Also, if you only have AA9.0, it would probably be a good idea to update -- currently at AA9.3.4. If you have not registered your copy of AA with Adobe, now might be a good time to do that.

  • Travel Advance Special GL Posting-Setting up Posting Key

    Dear experts,
    I have managed to setup the Travel Advance correctly and also managed to post it which read as posting key 21 and 31.
    However, i am not posting it as a Special GL Account as at transaction PRT3, under Group HRR(Postings from Travel Expenses Accounting) as i only have transaction:
    HRP with posting key 21 (Credit Memo) and 31 (Invoice)
    HRT with posting key 40 (Debit Entry) and 50 (Credit Entry).
    How do i post advance with posting key 29 (Special GL Debit)?, as according to the FI consultant i need to configure the Advance posting key as one leg using 29 (Special GL Debit). And which transaction should i use, as from this thread i read that we need to use transaction HRV but however, my screen only have HRP and HRT. Do i have to apply any notes to make the transaction available or is it created elsewhere in FI configuration?
    Please help.
    Thanking you in advance.

    I hope you have got your query answered by now but for the sake of others T code FBKP is used to maintain setting of Special GL

  • Any special way to set up a new Actiontec Wireless N Fios router?

    I'm looking to buy the newer Wireless N router as I'm using an old Westell 9100 wireless g router. Since I'm buying the fios router new outside of Verizon, when I get it is there anything special I have to do to swap out the routers and get the new one working? I assume I have to sign into it and do something. What do I have to do?
    Any help I can get before I get the router so I am prepared ahead of time is appreciated.

    Since you say you're buying it outside of Verizon, I would suggest two things.
    1)  Release the DHCP on the old router before you disconnect it, otherwise you may not be able to get a new DHCP lease right away.  http://www.dslreports.com/faq/15898
    2)  Do a hard reset on the new router to make sure the router is set back to factory defaults.

  • Special Validation Value Set - Key Flexfield

    Hi Gurus...
    I have a problem with my special value set.. i did this... :
    FND POPID APPL_SHORT_NAME=SQLGL
    CODE="GL#"
    WHERE="segment2 not like '1%'"
    DISPLAY="1"
    DISPLAY="2"
    DISPLAY="3"
    DISPLAY="4"
    REQUIRED=Y
    VALIDATE=FULL
    ID=:!ID
    SEG=:!VALUE
    DESC=:!MEANING
    NAVIGATE=!DIR
    DINSERT=N
    The problem is that the SEGMENT2 of this value set is not being filtered... should filter by SEGMENT1 like '1%'. When i use the parameter associated to this value set there is no error.... always shows SEGMENT2 with all data.. without filter....
    Any suggestions ??
    Thanks!!
    Pablo.-

    Use Validation Type 'Table'
    Press 'Edit Information' button
    Select the Table name and Column that you want to show in your list, you can restrict the list using the Where section.
    Cheers!

  • How to exchange STD set-top for an HD Set-Top Box ?

    I am currently a Verizon FIOS customer.  Since there are no local offices in Southeastern, PA how do I go about both requesting a secondary HD set-top box, and also set-up a return of the one I'd like to exchange (a non-HD set-top).  Will there be a pre-paid postage sticker for the one box I plan to return ?  How do I go about formally cancelling the old set-top box so the charges stop appearing on my bill ? 

    Verizon will send you  the new box with a return label for the one you no longer want.  Simply place the on you're returning into the box that the new one came in, apply the label to the box, drop off at a UPS store or call for a pick-up.  Once received by Verizon, billing will stop and the box will be removed from your account.

  • How to change std set up to get a stand alone APO 4.1 without R/3 linkage.

    Hello,
    I have been looking for documentation/advise regarding the severing of the linkage of an APO system from and existing R/3 system so that it becomes a stand alone system.
    Let me explain.
    We have recently been bought out by a larger global company who have their own SAP system and are currently incorporating our system into it (DP/SNP & PPDS).
    However the global company sees that the our Demand Planning Statistical Forecasting functionality is a local process as they do not use it, so it will not be taken within the global system.
    This would mean that we would loose the statistical forecasting functionality, but we would like to keep it as it is fit for purpose and gives very good results.
    What is being proposed is that the current APO system linkage be severed from R/3 as the execution will no longer be taking place as SNP an PPDS will be in the new system.
    Then we want to set up the remaining APO system as a stand alone client just for Stat F/casting with no linkage with R/3, but linkage for the correct date with interfaces only from non R/3 systems.
    From what documentation i have seen so far, it can be done. we just want to know what would be the best procedure to do this and what are the likely problems we will encounter.
    Can anyone assist with this.
    Regards, Nathan Marchington

    Nathan, you could get your basis group to break the link between your SCM system and R/3 through deleting rfc connections in SM59.
    Of course you'll have to delete integration models on the R/3 side to stop data from being sent to your old APO system. It will cause an outbound queue once the connection is broken.
    On the APO side delete you publication settings in SPRO to stop various txn elements from being sent out to the now disconnected R/3 system.
    Cleaning up txn data would keep the system neat. Various ways that you can do this.
    If all you are using is DP you can set the deletion flag on the product master once all of the txn data is gone and delete materials if you want to stop any processes other than DP being carried out.
    Good luck,
    Chris

  • Special (Swedish) caracter set

    Hi,
    I have a flash/AS3 based home page with a contact form that sends me email.
    When i receive emails it looks like this: "du har mÃ¥ste jag säga. Hälsa". It should look like this: "du har måste jag säga. Hälsa"
    The problem seems to be the Swedish characters: "Åå Ää Öö".
    I have been looking around but have not found a solution, anyone have an idea how to fix this?
    Cheers

    Hi,
    Well i use a Swedish provider named Loopia (www.loopia.se), i'll check
    with them.
    Cheers
    Citerar moccamaximum <[email protected]>:
    The problem is not on the Flash-side, instead you have to check how
    your server handles the mail, the best method to make sure that the
    data is saved properly, is to write it to database, which is able to
    handle utf-8 characters. For details I would need your server specs,
    especially the php-Version and kind of database it uses.
    >

  • A few questions about setting up a network drive

    Hello,
    I have been trying setup a private server on my home network. I have a Netgear WNDR 3800 and have been trying to hook up my 2TB external drive to the router.
    I have been trying to decide how I want to format the drive, and how many partitions I should use.
    The reason I have a 2TB drive is because I needed a work space to create a image of a corrupt 500GB drive. The 500GB drive had my entire digital life on it, and it was almost lost. I dont want to encounter the same issue with a 2TB drive because at that point I feel like any issues would make it difficult for me to recover the data due to work space size issues. This is why I am thinking about using several partitions, but I am not sure what issues this might present.
    As far as format goes; the router says it supports read/write with FAT 16/32, NTFS, EXT 2/3, and I know it works with HFS. Here are the things that I am trying to do with the drive. (in order of importance)
    Use it as a Time Machine backup location for 1 possible more MBP's
    As a media sever to stream downloaded movies and music to A/V reciever (Pioneer VSX-822)  and possibly other devices on the network
    Act as a temporary storage location to swap files between devices or operating systems
    If possible not keep media on my computer and stream it from the network drive when I am home
    And, thats all I can think of right now. If there is something else useful I am missing that would need special attention in setting up a network drive let me know.
    So, I have had no problems getting the drive to connect and show up on the network when I use HFS. I have also been able to get multiple partitions to show up; been able to back up to different partitions; including time machine on one partition.
    So here is where I am running into problems; the router bios allows you to enable a media sever. I believe the router tries to do something with DLNA. DLNA I believe allows for a similar functions to airplay and cloud for basically all compatible non apple products. I dont care if I use DLNA, or Airplay. I just want to be able to access my music library over the network without having to have my computer open, or my iphone on me..ect.
    So I was wondering if anyone could help me out, or if there are any articles I should look at that I might have missed while I have been researching.
    Edit: I am sorry if this is posted in the wrong section, I figured the best people to ask about filesystem compatability and ease of use was going to be the System software section

    Hello,
    I have been trying setup a private server on my home network. I have a Netgear WNDR 3800 and have been trying to hook up my 2TB external drive to the router.
    I have been trying to decide how I want to format the drive, and how many partitions I should use.
    The reason I have a 2TB drive is because I needed a work space to create a image of a corrupt 500GB drive. The 500GB drive had my entire digital life on it, and it was almost lost. I dont want to encounter the same issue with a 2TB drive because at that point I feel like any issues would make it difficult for me to recover the data due to work space size issues. This is why I am thinking about using several partitions, but I am not sure what issues this might present.
    As far as format goes; the router says it supports read/write with FAT 16/32, NTFS, EXT 2/3, and I know it works with HFS. Here are the things that I am trying to do with the drive. (in order of importance)
    Use it as a Time Machine backup location for 1 possible more MBP's
    As a media sever to stream downloaded movies and music to A/V reciever (Pioneer VSX-822)  and possibly other devices on the network
    Act as a temporary storage location to swap files between devices or operating systems
    If possible not keep media on my computer and stream it from the network drive when I am home
    And, thats all I can think of right now. If there is something else useful I am missing that would need special attention in setting up a network drive let me know.
    So, I have had no problems getting the drive to connect and show up on the network when I use HFS. I have also been able to get multiple partitions to show up; been able to back up to different partitions; including time machine on one partition.
    So here is where I am running into problems; the router bios allows you to enable a media sever. I believe the router tries to do something with DLNA. DLNA I believe allows for a similar functions to airplay and cloud for basically all compatible non apple products. I dont care if I use DLNA, or Airplay. I just want to be able to access my music library over the network without having to have my computer open, or my iphone on me..ect.
    So I was wondering if anyone could help me out, or if there are any articles I should look at that I might have missed while I have been researching.
    Edit: I am sorry if this is posted in the wrong section, I figured the best people to ask about filesystem compatability and ease of use was going to be the System software section

  • Trying to set control hints in entity object attributes in generic classes

    Hi, how are you? I work for a project , that uses JDeveloper 10.1.3.3 version and I am assigned to solve some problems in the part that is associated with ADF Business Components—Model—of the application. The question is how could I implement generic functionality in CustomEntityImpl and there I am to assign some control hint values to some attributes and then the entities that will extend this class will acquire this functionality in their attributes.
    I send you some code I have in my mind in order to find out how to write something relevant to set control hints. I have searched in relevant api’s for AttributeHints and EntityDef but I did not find a solution to my problem. I’ve tried this code:
    AttributeHints ah=new AttributeHints(new AttributeDef(RIBUTE_DISPLAY_HINT_HIDE ) );
    but it does not work. How could I set this value – to hide one attribute whenever it exists in my entities , setting it once in my CustomEntityImpl class?
    I’ve read the whole tutorial ADF Business Components For Forms 4GL Developers but I did not find a solution to my problem. Your help would be a gift to me. Thank you very much!
    private String primary_key = "Id";
    private final String dte_insert = "Dteinsert";
    private final String dte_update = "Dteupdate";
    private final String user_insert = "Usrinsert";
    private final String user_update = "Usrupdate";
    private final String afm = "Afm";
    protected boolean findAttribute(String name) {
    String[] list = this.getAttributeNames();
    for (int i = 0; i < list.length; i++) {                       
    if (name.equals(list))
    return true;
    return false;
    protected void doDML(int operation, TransactionEvent transactionEvent) {
    //Insert Operation
    if (operation == DML_INSERT) {
    //Add history column
    if (findAttribute(dte_insert)) {
    Date date = new Date((new Date()).getCurrentDate());
    this.setAttribute(dte_insert, date);
    //Update Operation
    else if (operation == DML_UPDATE) {
    //Add history column
    if (findAttribute(dte_update)) {
    Date date = new Date((new Date()).getCurrentDate());
    this.setAttribute(dte_update, date);
    //Delete Operation
    else if (operation == DML_DELETE) {
    //To DO
    super.doDML(operation, transactionEvent);

    I Suggest you set its Attribute on EOImpl, override doDML, and before call super.doDML set your Attribute. There is a special reason to set Attribute on beforeCommit?
    Best Regards

  • Special stock indicator in Production Order Component overview

    Hi  Team,
    I have one finished product , for which i have created BOM . It has only one component in it .
    Now i am creating a Sales order , based on the definition and requirement set , system is creating a production order in background.
    When i go to production order and see components overview screen , there is one field special stock . This is getting filled with '1'  - Individual customer stock always. 
    Even though we have stock in storage location , it is expecting components to be in Sales order stock . 
    If i create a stand alone production order for same materials , there is no special stock indicator set in components .
    Can any body let me know how is this special stock field getting populated and what settings has to be reviewed in order to supress the same.
    Thanks,
    sudhakar

    Sudhakar,
    Check the MRP parameter 'Individual/Coll' in MRP4 view for the components. This should be set as 2 for collective planning. If this flag is left blank then planning will be based on the parent material (If the parent material is planned for special stock then the components will also be planned for special stock)
    Let me know if this helps.
    Thanks,
    Jaison

  • Parameter event - to be set according to  EWA report

    Good day fellas,
    I have a problem on my EWA report :
    event 10027 trace name context forever, level 1
      10028 trace name context forever, level 1
      10142 trace name context forever, level 1
      10183 trace name context forever, level 1
      10411 trace name context forever, level 1
      10629 trace name context forever, level 32
      14532 trace name context forever, level 1
      38068 trace name context forever, level 100
      38085 trace name context forever, level 1
      38087 trace name context forever, level 1
      44951 trace name context forever, level 1024
      10191 trace name context forever, level 1
      10753 trace name context forever, level 2
      10191 trace name context forever, level 1
      10091 trace name context forever, level 1
    and a bit below:
    The following table lists events we found to be activated in your system, but which should only be activated in special circumstances. Please check whether there are special reasons to set these events. If they are no longer needed, they should be removed.
    Event
    10091
    How can I check these special circumstances and if this parameter is needed ?
    Thanks in advance,

    Hi deepakkori.
    The parameter is already defined in initSID.ora:
    *.event='10027 trace name context forever, level 1','10028 trace name context forever, level 1','10142 trace name context forever, level 1','10183 trace name context forever, le
    vel 1','10411 trace name context forever, level 1','10629 trace name context forever, level 32','14532 trace name context forever, level 1','38068 trace name context forever, le
    vel 100','38085 trace name context forever, level 1','38087 trace name context forever, level 1','44951 trace name context forever, level 1024','10191 trace name context forever
    , level 1','10753 trace name context forever, level 2','10191 trace name context forever, level 1','10091 trace name context forever, level 1'
    and they do not recommned any SAP note. These are the only things recommended in EWA:
    Parameter EVENT
    To provide special functionality or control system behavior, Oracle has a number of events. These can be activated in the configuration file and/or dynamically in the server manager or sqlplus.
    In general, these events and parameters should be activated on request only. When they are no longer needed, they should be removed. However, it might be necessary to activate some events during normal database operation.
    The following table displays the values for the parameter "event" as
    found in your system:
    Parameter Current Value
    event 10027 trace name context forever, level 1
      10028 trace name context forever, level 1
      10142 trace name context forever, level 1
      10183 trace name context forever, level 1
      10411 trace name context forever, level 1
      10629 trace name context forever, level 32
      14532 trace name context forever, level 1
      38068 trace name context forever, level 100
      38085 trace name context forever, level 1
      38087 trace name context forever, level 1
      44951 trace name context forever, level 1024
      10191 trace name context forever, level 1
      10753 trace name context forever, level 2
      10191 trace name context forever, level 1
      10091 trace name context forever, level 1
    The following table lists events we found to be activated in your system, but which should only be activated in special circumstances. Please check whether there are special reasons to set these events. If they are no longer needed, they should be removed.
    Event
    10091
    So I am not sure, how to check if I should remove this 10091 or leave it there. What is that special case that this parameter needs to be present ?
    Any idea ?
    thanks in advance,

Maybe you are looking for

  • Apple TV on 5508 Guest/BYOD WLAN

    Currently our Guest and employee BYOD clients get dropped on to the same vlan.  Guest is an open wlan, and BYOD is doing 802.1X with PEAP.  We are wanting to allow access to Apple TV devices for both guest and BYOD clients which are on the same vlan/

  • JavaFx Lighting Effects : When to Use which ???

    Hi, I know that this question in more design oriented than technical, but still i'm posting this question in this forum . I wanted to start off with javaFx lighting effects and i have found very good examples online . I have seen the implementation o

  • Make oracle database case insensitive

    Hi All, I am using oracle 10g EE as my back end database and front end is in C# .NET. I want to make my oracle database to perform any comparison case insensitively. I searched on the net and found several ways to achieve that 1. using upper function

  • IPhone Battery????

    Hi. My IPhone is a 3G (I think) Model MB702LL. It was updated to version 4.2.1. Two days ago started to sign low battery but it seems it doesn't hold a charge.Though my battery level it's totally red I can still make/receive calls. I went to an Apple

  • Any one else having trouble w/Safari frequently crashing the last week or two?  Any cures?  Mine is 4.1.3  Thanks

    Any one else having trouble w/Safari frequently crashing the last week or two?  Any cures?  Mine is 4.1.3  Thanks